function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() {
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() {
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function gallery(gal_id) {
 		window.open("/inc/gallery.php?galid="+gal_id, "", "width=732,height=654,status=no,toolbar=no,menubar=no");
}

function webAD(webad_id) {
 		window.open("/inc/webad.php?webadid="+webad_id, "", "width=732,height=654,status=no,scrollbars=yes,toolbar=no,menubar=no");
}

function compatibility_list_de(products_id) {
 		window.open("/inc/compatibility_list.php?lng=de&products_id="+products_id, "", "width=900,height=654,status=no,scrollbars=yes,toolbar=no,menubar=no");
}

function compatibility_list_en(products_id) {
 		window.open("/inc/compatibility_list.php?lng=en&products_id="+products_id, "", "width=900,height=654,status=no,scrollbars=yes,toolbar=no,menubar=no");
}

function get_banner(address, type) {
 		get_code = open("", "", "width=550,height=20,status=no,toolbar=no,menubar=no");
		get_code.document.open();
		
		if (type == 'flash') {		
			get_code.document.write("<html><head><title>Coolink-Europe.com</title></head><body>");
			get_code.document.write("<font size=\"2\" face=\"Arial\">&lt;param name=&quot;movie&quot; value=&quot;http://www.coolink-europe.com/img/logos_banner/" + address + "&quot;&gt;<br />");
			get_code.document.write("&lt;embed src=&quot;http://www.coolink-europe.com/img/logos_banner/" + address + "&quot; quality=&quot;high&quot; width=&quot;468&quot; height=&quot;60&quot; name=&quot;movie&quot; type=&quot;application/x-shockwave-flash&quot; plug inspage=&quot;http://www.macromedia.com/go/getflashplayer&quot;&gt;");
			get_code.document.write("</font>");
			get_code.document.write("</body></html>");
			get_code.document.close();
		}

		if (type == 'img') {		
			get_code.document.write("<html><head><title>Coolink-Europe.com</title></head><body>");
			get_code.document.write("&lt;a href=&quot;http://www.coolink-europe.com&quot;&gt;&lt;img src=&quot;http://www.coolink-europe.com/img/logos_banner/" + address + "&quot;&gt;&lt;/a&gt;");		
			get_code.document.write("</body></html>");
			get_code.document.close();
		}
}

document.write('<script src="/js/flash.js" type="text/javascript"></script>');