var rolok=0;

//////////////////////////////////////////////////////////////////////
function init() {
		if (document.images)
			{
			e12_s = new Image(); e12_s.src = "img/hdrifake.gif";
			e12_o = new Image(); e12_o.src = "img/hdrifake_o.gif";
				
			e11_s = new Image(); e11_s.src = "img/smear.gif";
			e11_o = new Image(); e11_o.src = "img/smear_o.gif";
			
			e10_s = new Image(); e10_s.src = "img/nanocockpit.gif";
			e10_o = new Image(); e10_o.src = "img/nanocockpit_o.gif";
			
			e9_s = new Image(); e9_s.src = "img/grosskopfzombie.gif";
			e9_o = new Image(); e9_o.src = "img/grosskopfzombie_o.gif";
			
			e8_s = new Image(); e8_s.src = "img/alienplasma.gif";
			e8_o = new Image(); e8_o.src = "img/alienplasma_o.gif";

			e7_s = new Image(); e7_s.src = "img/impostors.gif";
			e7_o = new Image(); e7_o.src = "img/impostors_o.gif";
			
			e1_s = new Image(); e1_s.src = "img/isomania.gif";
			e1_o = new Image(); e1_o.src = "img/isomania_o.gif";
			
			e2_s = new Image(); e2_s.src = "img/celltango.gif";
			e2_o = new Image(); e2_o.src = "img/celltango_o.gif";

			e3_s = new Image(); e3_s.src = "img/russpartikel.gif";
			e3_o = new Image(); e3_o.src = "img/russpartikel_o.gif";

			e4_s = new Image(); e4_s.src = "img/aolfanfiles.gif";
			e4_o = new Image(); e4_o.src = "img/aolfanfiles_o.gif";
		
			e5_s = new Image(); e5_s.src = "img/pizzataxi.gif";
			e5_o = new Image(); e5_o.src = "img/pizzataxi_o.gif";
			
			e6_s = new Image(); e6_s.src = "img/wohnzimmer.gif";
			e6_o = new Image(); e6_o.src = "img/wohnzimmer_o.gif";
			

			rolok=1;
			}
	}
//////////////////////////////////////////////////////////////////////
function di(id,name) {
	if (rolok==1)
		{
		if (document.images)
			document.images[id].src=eval(name+".src");
		}
	}
//////////////////////////////////////////////////////////////////////
function fEx(obj) {
	if (document.all)
		obj.blur();
	}
//////////////////////////////////////////////////////////////////////
function fOn(obj) {
	if (document.all)
		{
		eval ("document.all." + obj + ".style.backgroundColor='#3D8196'");

		eval ("document.all." + obj + ".style.borderTop='#FFFFFF 1px solid'");
		eval ("document.all." + obj + ".style.borderBottom='#FFFFFF 1px solid'");
		eval ("document.all." + obj + ".style.borderLeft='#FFFFFF 1px solid'");
		eval ("document.all." + obj + ".style.borderRight='#FFFFFF 1px solid'");
		}
	}
//////////////////////////////////////////////////////////////////////
function fOff(obj) {
	if (document.all)
		{
		eval ("document.all." + obj + ".style.backgroundColor='#267289'");

		eval ("document.all." + obj + ".style.borderTop='#B7D0D8 1px solid'");
		eval ("document.all." + obj + ".style.borderBottom='#B7D0D8 1px solid'");
		eval ("document.all." + obj + ".style.borderLeft='#B7D0D8 1px solid'");
		eval ("document.all." + obj + ".style.borderRight='#B7D0D8 1px solid'");
		}
	}
//////////////////////////////////////////////////////////////////////
function popupFlash(object,width,height) {
	var x=10;
	var y=10;

	if (screen)
		{
		x=screen.availWidth/2-width/2;
		y=screen.availHeight/2-height/2;
		}
	
	var win = window.open("displayflash.php?object=" + object , "", "menubar=no,titlebar=no,resizable=no,scrollbars=no,left=" + x + ",top=" + y + ",width=" + width +",height=" + height);
}
//////////////////////////////////////////////////////////////////////
function popupImage(object,width,height) {
		var x=10;
		var y=10;

		if (screen) {
			x=screen.availWidth/2-width/2;
			y=screen.availHeight/2-height/2;
		}
		
		var win = window.open("showimage.php?object=" + object , "", "menubar=no,titlebar=no,resizable=no,scrollbars=no,left=" + x + ",top=" + y + ",width=" + width +",height=" + height);
	}
//////////////////////////////////////////////////////////////////////
