

// popup window with optional document.write if url is "blank.htm"
function SpawnPopup(breite,hoehe,URL,name,filename,filetype)
	{
		size = "width="+breite+",height="+hoehe;
		NewPopup = window.open(URL,name,size);
		if (window.focus) {NewPopup.focus()}
		NewPopup.moveTo((screen.width-breite)/2,(screen.height-hoehe)/2);
				
		if (URL == "blank.htm")
			{
				NewPopup.document.writeln("<HTML>");
				NewPopup.document.writeln("<HEAD>");
				NewPopup.document.writeln("<TITLE>PcDaddy.dk | "+name+"</TITLE>");
				NewPopup.document.writeln("</HEAD>");
				NewPopup.document.writeln("<BODY BGCOLOR=#48515C background=../images/popup_bg.gif style=margin:0px;>");
				NewPopup.document.writeln("<DIV style=position:absolute; top:0px; left:0px;><A href=javascript:window.close()><IMG src=../images/full/"+filename+"."+filetype+" border=0></A</DIV>");
				NewPopup.document.writeln("</BODY>");
				NewPopup.document.writeln("</HTML>");
			}

	}


// image swapping

			IconNormal = new Image(); 
			IconNormal.src = "../images/list_icon.gif";
			IconHover = new Image(); 
			IconHover.src = "../images/list_icon2.gif";


			function Rollover(ImageNo,Object)
			{
			 window.document.images[ImageNo].src = Object.src;
			}
