
jQuery(document).ready(function(){			
jQuery("#topmenu a.topper:not(a.topper:first)").before("<span class='divider'></span>");
jQuery("#topmenu div.abscontainer:last").addClass("last");
jQuery("a.active").click(function(){return(false);});

/*jQuery("#box").hide();
	jQuery(".click3").click(function(){
		jQuery("#box").slideToggle('slow');
	});
	
jQuery("#orthoe").hide();
	jQuery(".click2").click(function(){
		jQuery("#orthoe").slideToggle('slow');
	});
	
jQuery("#tele").hide();
	jQuery(".click1").click(function(){
		jQuery("#tele").slideToggle('slow');
	});*/


jQuery("#topmenu div.sub").hide();
	jQuery("#topmenu a.active").click(function(){menuShow(this); return(false);});
													
jQuery("#dnn_ContentPane,a.empty").mouseover(function(){
					jQuery("#topmenu div.active").stop().slideUp("fast").parent().removeClass("topsub");						
 	});

jQuery('[name=dnn$ctr519$FormMaster$ctl__20091102T151642]').focus(function() {
	jQuery(this).val('');
});

jQuery('[name=dnn$ctr519$FormMaster$ctl__20091102T152131]').focus(function() {
	jQuery(this).val('');
});

jQuery('[name=dnn$ctr520$FormMaster$ctl__20091103T142747]').focus(function() {
	jQuery(this).val('');
});

jQuery('[name=dnn$ctr520$FormMaster$ctl__20091103T142831]').focus(function() {
	jQuery(this).val('');
});

/*flashing
jQuery("div.active a").mouseover( function(){jQuery(this).stop().fadeTo("fast", 0.6, function(){jQuery(this).fadeTo("slow", 1);});});*/

 });

function menuShow(menuitem){
	jQuery("#topmenu div.active:not(div.active:eq("+ jQuery("#topmenu a.active").index(menuitem) + "))").stop().slideUp(900).parent().removeClass("topsub");
	jQuery("#topmenu div.active:eq("+ jQuery("#topmenu a.active").index(menuitem) + ")").stop().css("height", "auto").slideDown(900).parent().addClass("topsub");
}

function runSiteScripts(path) {
//here's the sIfr
var kozuka = {  src: path + 'kozuka.swf' };
sIFR.activate(kozuka);
sIFR.replace(kozuka, {
  selector: 'h1', 
  wmode: 'transparent', 
  src:  path +  'kozuka.swf', 
  css: [ '.sIFR-root {color:#70208F; font-size:24px; font-weight:normal; }'  ]
});
// gets rid of focus box on click
if(document.getElementsByTagName) {
var a = document.getElementsByTagName("a");
//collect all anchors A
for(var i = 0; i < a.length; i++){
// mouse onfocus, blur anchors
a[i].onfocus = function(){this.blur();};
}
}


}