function menuCommon(){
	var tblIds=new Array();
	tblIds.push(["aktualnosci",1]);
	tblIds.push(["repertuar",1]);
	tblIds.push(["spektakle",1]);
	tblIds.push(["zespol",2]);
	tblIds.push(["teatr",2]);
	tblIds.push(["galeria",2]);
	tblIds.push(["bilety",2]);
	for( var i=0; i<tblIds.length; i++){
		var ref=document.getElementById(tblIds[i][0]);
		ref.className+=(tblIds[i][1]+" menu" +tblIds[i][1]);
		if(tblIds[i][0]=="bilety"){
			ref.className+=" bilety";
		}
	}
}
onLoadQueue.appendOnLoad(menuCommon)
function siteCommon(){
	if(page_id=="aktualnosci.aktualnosci_teatralne"){
		document.getElementById("bipHref").style.display="inline"
		document.getElementById("wrotaMalHref").style.display="block"
		//document.getElementById("operaHref").style.display="block"
	}
	$('a[href$=wma]').each(function(i){
		$(this).attr('target','_blank')
	})
}
onLoadQueue.appendOnLoad(siteCommon)
onLoadQueue.appendOnLoad(OverPageBrowser.instance.fixFlvMiniatures)
function startOverPageInfo(){
window.overPageInfo=new OverPageInfo()
	//window.overPageInfo.cookieName="c2"+Math.random()
	window.overPageInfo.cookieName="overC1"
window.overPageInfo.setMovie("","_top","flash",{width:690,height:500,file:"/modules/content/teatr_slowackiego_kartka_2009_690x500_01.swf",wmode:"transparent"});
window.overPageInfo.assign("overInfo"/*divName*/,-740/*left*/,240/*top*/)
}
//onLoadQueue.appendOnLoad(startOverPageInfo)
function startLeftBr(){
    var emb = new PluginEmbeder()
    emb.addAttribute("width", 168)
    emb.addAttribute("height", 252)
    emb.addAttribute("file", "/modules/Plebiscite/assets/teatr_slowackiego_banner_plebiscyt_03_168x252.swf")
    emb.addAttribute("wmode", "opaque")
    emb.addVariable("targeturl", '/pl/aktualnosci/plebiscyt/?ref=ad07012009')
   	emb.addVariable("target", '_self')
	emb.assignToElement("leftAdPlace")
}

onLoadQueue.appendOnLoad(startLeftBr)