//Copyright (c) Online1.ch - All Rights Reserved - Don't steel! Our Pagepeel calls home!
document.write('<style type="text/css">'+'#unlayout { top:-1000px; }'+'#unlayout2 { bottom:1000px; }'+'#unlayout3 { bottom:1000px; }'+'#unlayout4 { top:-1000px; }'); 

if (navigator.appVersion.indexOf('nd') != -1 || navigator.appName.indexOf('ro') != -1) 
	{ 	
	document.write('#cvlayout { top:0px; right:1px; } #unlayout { right:1px; }'); 
	//2
	//first stattic position of cover
	document.write('#cvlayout2 { bottom:0px; right:1px; } #unlayout2 { right:1px; }'); 
	//3
	//first stattic position of cover
	document.write('#cvlayout3 { bottom:0px; left:-1px; } #unlayout3 { left:-1px; }'); 
	//3
	//4
	//first stattic position of cover
	document.write('#cvlayout4 { top:0px; left:-1px; } #unlayout4 { left:-1px; }'); 
	//4
	} 
	else 
	{ 
	document.write('#cvlayout { top:-1000px; right:1px; } #unlayout { right:1px; }'); 
	//2
	document.write('#cvlayout2 { bottom:-1000px; right:1px; } #unlayout2 { right:1px; }'); 
	//2
	//3
	document.write('#cvlayout3 { bottom:-1000px; left:0px; } #unlayout3 { left:0px; }'); 
	//3
	//4
	document.write('#cvlayout4 { top:-1000px; left:0px; } #unlayout4 { left:0px; }'); 
	//4
	}
	document.write('</style>');
function setpos(param1, param2, param3, param4, param5) 
{ 	
	document.getElementById(param2).style.top = param3; 
	document.getElementById(param4).style.top = param5; 
	if (navigator.appName.indexOf('ro')!= -1) 
	{ 
	window.resizeBy(-1,-1); window.resizeBy(1,1); 
	}
}

function pguncover(command, args) 
{ 
if (command == 'act_ppo') 
	{ 
	cvlayout.style.top = '-1000px'; 
	unlayout.style.top = '0px'; 		
	}
}
function pgcover(command, args) 
{ 
	if (command == 'act_ppc') 
	{ 
	cvlayout.style.top = '0px';
	unlayout.style.top = '-1000px'; 
	}
}
//2
function setpos2(param1, param2, param3, param4, param5) 
{ 	
	document.getElementById(param2).style.bottom = param3; 
	document.getElementById(param4).style.bottom = param5; 
	if (navigator.appName.indexOf('ro')!= -1) 
	{ 
	window.resizeBy(-1,-1); window.resizeBy(1,1); 
	}
}
function pguncover2(command, args) 
{ 
if (command == 'act_ppo2') 
	{ 
	cvlayout2.style.bottom = '1000px'; 
	unlayout2.style.bottom = '0px'; 
	}
}
function pgcover2(command, args) 
{ 
	if (command == 'act_ppc2') 
	{ 
	cvlayout2.style.bottom = '0px'; 
	unlayout2.style.bottom = '1000px';
	}
}
//2

//3
function setpos3(param1, param2, param3, param4, param5) 
{ 	
	document.getElementById(param2).style.bottom = param3; 
	document.getElementById(param4).style.bottom = param5; 
	if (navigator.appName.indexOf('ro')!= -1) 
	{ 
	window.resizeBy(-1,-1); window.resizeBy(1,1); 
	}
}
function pguncover3(command, args) 
{ 
if (command == 'act_ppo3') 
	{ 
	cvlayout3.style.bottom = '1000px'; 
	//animated position of uncover
	unlayout3.style.bottom = '0px'; 
	//
	}
}
function pgcover3(command, args) 
{ 
	if (command == 'act_ppc3') 
	{ 
	//static position of uncover
	unlayout3.style.bottom = '1000px'; 
	//
	//after event static position of cover
	cvlayout3.style.bottom = '0px'; 
	//
	}
}
//3
//4
function setpos4(param1, param2, param3, param4, param5) 
{ 	
	document.getElementById(param2).style.top = param3; 
	document.getElementById(param4).style.top = param5; 
	if (navigator.appName.indexOf('ro')!= -1) 
	{ 
	window.resizeBy(-1,-1); window.resizeBy(1,1); 
	}
}
function pguncover4(command, args) 
{ 
if (command == 'act_ppo4') 
	{ 
	cvlayout4.style.top = '-1000px'; 
	//animated position of uncover
	unlayout4.style.top = '0px'; 
	//
	}
}
function pgcover4(command, args) 
{ 
	if (command == 'act_ppc4') 
	{ 
	//static position of uncover
	unlayout4.style.top = '-1000px'; 
	//
	//after event static position of cover
	cvlayout4.style.top = '0px'; 
	//
	}
}
//4

document.write('<div id="cvlayout" style="position:absolute; width:75px; height:75px; z-index:19001;">'+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="cover" width="75" height="75">'+'<param name="allowScriptAccess" value="always"><param name="movie" value="_peel/cover.swf"><param name="wmode" value="transparent"><param name="FlashVars" value="xmlpath=images/menu.xml&smallimg=images/covers.jpg&scrolltxtsmall=Kennen Sie das Geheimnis?&txtsizesmall=12&textcolor=0000FF">'+'<embed src="_peel/cover.swf" id="cover" name="cover" wmode="transparent" flashvars="xmlpath=images/menu.xml&smallimg=_peel/images/covers.jpg&scrolltxtsmall=Kennen Sie das Geheimnis?&txtsizesmall=12&textcolor=0000FF" width="75" height="75" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'+'</object>'+'</div>'+'<div id="unlayout" style="position:absolute; height:600px; width:800px; z-index:20000;">'+'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" id="uncover" width="800" height="600">'+'<param name="allowScriptAccess" value="always"><param name="movie" value="_peel/uncover.swf"><param name="wmode" value="transparent"><param name="FlashVars" value="xmlpath=images/menu.xml&bigimg=images/uncovers.jpg&urlval=http://www.selimtolga.ch/anlass-feier-fest/programme-unterhaltung-zauberer.htm&scrolltxtbig=Zauberei mit Witz und Charme&txtsizebig=50&textcolor=EE0000&yaxis=290">'+'<embed src="_peel/uncover.swf" wmode="transparent" width="800" height="600" flashvars="xmlpath=images/menu.xml&bigimg=images/uncovers.jpg&urlval=http://www.selimtolga.ch/anlass-feier-fest/programme-unterhaltung-zauberer.htm&scrolltxtbig=Zauberei mit Witz und Charme&txtsizebig=50&textcolor=EE0000&yaxis=290" id="uncover" name="uncover" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'+'</object>'+'</div>');
//2
//4
if (navigator.appName && navigator.appName.indexOf('ro') != -1 && navigator.userAgent.indexOf('nd') != -1 && navigator.userAgent.indexOf('3.1') == -1)	{ 
	document.write('<script language="VBScript">\n'+'On Error Resume Next\n'+'Sub cover_FSCommand(ByVal command, ByVal args)\n'+'Call pguncover(command, args)\n'+'End Sub\n'+'Sub uncover_FSCommand(ByVal command, ByVal args)\n'+'Call pgcover(command, args)\n'+'End Sub\n'+'</script>\n');
	//2
	document.write('<script language="VBScript">\n'+'On Error Resume Next\n'+'Sub cover2_FSCommand(ByVal command, ByVal args)\n'+'Call pguncover2(command, args)\n'+'End Sub\n'+'Sub uncover2_FSCommand(ByVal command, ByVal args)\n'+'Call pgcover2(command, args)\n'+'End Sub\n'+'</script>\n');
	//2
	
	//3
	document.write('<script language="VBScript">\n'+'On Error Resume Next\n'+'Sub cover3_FSCommand(ByVal command, ByVal args)\n'+'Call pguncover3(command, args)\n'+'End Sub\n'+'Sub uncover3_FSCommand(ByVal command, ByVal args)\n'+'Call pgcover3(command, args)\n'+'End Sub\n'+'</script>\n');
	//3
	
	//4
	document.write('<script language="VBScript">\n'+'On Error Resume Next\n'+'Sub cover4_FSCommand(ByVal command, ByVal args)\n'+'Call pguncover4(command, args)\n'+'End Sub\n'+'Sub uncover4_FSCommand(ByVal command, ByVal args)\n'+'Call pgcover4(command, args)\n'+'End Sub\n'+'</script>\n');
	//4
}