jQuery(document).ready(function(){

	jQuery("#navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal",
		oldJquery:false,
		disableHI:false,
		onInit:function () {},
		onBeforeShow:function () {},
		onShow:function () {},
		onHide:function () {}
	}).find(">li:has(ul)").mouseover(function () {
		jQuery("ul", this).bgIframe({opacity:true});
	}).find("a").focus(function () {
		jQuery("ul", jQuery("#navigation > ul >li:has(ul)")).bgIframe({opacity:true});
	});

	/* remove box from links */
	jQuery("a").focus(function(){
		this.blur();
	});
	
	jQuery(".LinkIcon").rollover();
	
	jQuery(".copyrightedimage").bind("contextmenu",function(e){
	return false;
});


});

var kids = {  src: DNN_skinPath+'kids.swf' };
sIFR.activate(kids);

sIFR.replace(kids, {
  selector: 'h1', 
  wmode: 'transparent',
  src: DNN_skinPath+'kids.swf',
  css: [
      '.sIFR-root {color:#ebddbb;}'
    ]
});

function popPage(urly) {window.open(urly,"windowName","scrollbars=no,toolbar=no,menubar=no,statusbar=no,resizable=yes,width=430,height=290,left=100,top=100");}

function popVideo() {window.open("http://www.drdougcrosby.com.televoxpreview2.com/invisalignvideo.asp","windowName","scrollbars=yes,toolbar=no,menubar=no,statusbar=no,resizable=yes,width=650,height=530,left=100,top=100");}

function popup(x){
	
	popPage("http://www.drdougcrosby.com.televoxpreview2.com/callout.asp?info=" + x);
	
	}
