
window.addEvent('domready', function(){
	
	
	if($('ALL')){
		var ddmx = new DropDownMenuX('ALL');
		ddmx.type = "vertical";
		ddmx.position.level1.left = -2;
		ddmx.position.level1.top = -42;
		ddmx.init();
	}
	if($('player1')){
		var s1 = new SWFObject("/Images/imagerotator.swf","rotator","538","180","7");
		s1.addParam("wmode","opaque");
		s1.addVariable("file","/Interact/pics.xml?Lang="+Lang+"&t=");
		s1.addVariable("transition","lines");
		s1.addVariable("overstretch","false");
		s1.addVariable("displaywidth","538");
		s1.addVariable("linkfromdisplay","false");
		s1.addVariable("backcolor","0x98004B");
		s1.addVariable("width","538");
		s1.addVariable("rotatetime",10);
		s1.addVariable("repeat","true");
		s1.addVariable("height","180");
		s1.write("player1");
	}
	
									 
									 
});
function PrinterFriendly(){
	RegExpe = /\?/i.test(document.location);
	if (RegExpe == false){
		PrintUrl = document.location + "?Print=1";
	}
	else{
		PrintUrl = document.location + "&Print=1";
	}
	PrintUrl = PrintUrl.replace(/#/g, "");
	PrintWindow = window.open(PrintUrl,'PrintWindow','width=780,height=550,top=100,left=100,scrollbars=yes,resizable=yes');
	PrintWindow.focus();
}

//popup engine
function PopOpen(linkObj, popWidth, popHeight){
	if(!linkObj.href) return true;
	if(!popWidth) return true;
	if(!popHeight) return true;
	//they are all here
	//open popup win
	popWin = window.open(linkObj.href + '?Blank=1','popWin','width='+popWidth+',height='+popHeight+',top=100,left=100,scrollbars=yes,resizable=no');
	popWin.focus();
	return false;
}




