var w = screen.availWidth;
var tr = '<TD width="201" align="right" valign="top" bgcolor="#EEEEEE" class="bl"><IMG alt="Domeinnaam.be, dat is domeinnamen hosting en veel meer!" src="http://www.domeinnaam.be/ph/domeinnaam.jpg" width="200" height="200" border="0"><BR><TABLE width="100%" border="0" cellspacing="0" cellpadding="0"><TR><TD bgcolor="#CCCCCC"><IMG src="http://www.domeinnaam.be/img/menu/spacer.gif" width="1" height="3"></TD></TR><TR> <TD style="padding: 3px;cursor: hand" onclick="location.href=\'http://www.domeinnaam.be/eu-domeinnaam-pre-registratie.php\'" ><TABLE width="100%" border="0" cellspacing="0" cellpadding="4"><TR><TD><B><A href="http://www.domeinnaam.be/eu-domeinnaam-pre-registratie.php" style="text-decoration: none; color: #000000;"><IMG src="http://www.domeinnaam.be/img/eurid.gif" width="44" height="43" hspace="3" vspace="3" align="right" border="0" alt=".eu preregistraties">.EU domeinen<BR></A></B><A href="http://www.domeinnaam.be/eu-domeinnaam-pre-registratie.php">Meer weten? Wij vertellen u alles wat u moet weten! Klik hier! </A></TD></TR></TABLE></TD></TR> </TABLE><A href="http://www.combell.com/"><IMG alt="Meer hosting domeinnamen servers co-location" src="http://www.domeinnaam.be/img/service_van_combell.gif" width="200" height="100" border="0"></TD>';
	
if(w<=800){
	var os = '<!-- lowres -->';
}
else{
	if(w>800 && w<=1024){
		var os = tr;
	}
	else{
		var os = tr;
	}
}


function MM_swapImgRestore() { //v3.0
  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_preloadImages() { //v3.0
  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_findObj(n, d) { //v4.01
  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_reloadPage(init) {  //reloads the window if Nav4 resized
  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_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}


function cs(id, classpassed){
	document.getElementById(id).className=classpassed;
}

function csm(id, classpassed){
	if(document.getElementById(id).className != "ac"){
		cs(id, classpassed);
	}
}

cons = new Array('po', 'ea', 'am', 'aa', 'az', 'oc');
l = cons.length;

function switchit(show){
	for(i = 0; i < l; i++){
		if(cons[i] != show){
			cs(cons[i], "inac");
		}
		else{
			cs(cons[i], "ac");
		}
	}
}
function Page2(form) { 
	 var svalue; svalue = form.stijl.value; open(svalue,"_self");
}

function MM_swapImage() { //v3.0
  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 correct(){
	if (finished){
	setTimeout("begin()",3000)
}
return true
}
window.onerror=correct
function begin(){
if (!document.all)
return
if (maxheight==null)
maxheight=temp.offsetHeight
whatsnew.style.height=maxheight
temp.style.display="none"
c=1
finished=true
change()
}


var head=''
var top=0
var maxheight
var finished=false
var tickers=new Array()

tickers[0]='<a href="eu-domeinnaam-pre-registratie.php">.EU domeinen weldra beschikbaar!</a>'
tickers[1]='<a href="eu-domeinnaam-pre-registratie.php">Hou Domeinnaam.be in de gaten!</a>'

for (i=1;i<=tickers.length-1;i++){
if (tickers[i].length>=tickers[top].length)
top=i
}

function change(){
whatsnew.innerHTML=''
whatsnew.filters.revealTrans.apply()
whatsnew.filters.revealTrans.play()
whatsnew.innerHTML=tickers[c]
if (c==tickers.length-1) 
c=0
else
c+=1
setTimeout("change()",5000)
}

var fltext = '<span class="sc" id="whatsnew" style="width:100%;height=10;filter:revealTrans(duration=2,transition=19)">'+tickers[0]+'</span>';
var fltext2 = '<span id=ns style="display:none;">';

function show(url,w,h,s){

	var sw = screen.availWidth;
	var sh = screen.availHeight;

	var left = (sw-w)/(2);
	var top = (sh-h)/(2);

	window.open(""+url+"","pop","width="+w+",height="+h+",scrollbars="+s+",top="+top+",left="+left+",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,copyhistory=0");

}

function mail(url){

	var w = 450;
	var h = 230;

	var sw = screen.availWidth;
	var sh = screen.availHeight;

	var left = (sw-w)/(2);
	var top = (sh-h)/(2);

	window.open("index.php?popup=1&q=mail&p="+url+"","pop","width="+w+",height="+h+",scrollbars=0,top="+top+",left="+left+",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,copyhistory=0");

}

function meerinfo(wat){

	var w = 350;
	var h = 200;

	var sw = screen.availWidth;
	var sh = screen.availHeight;

	var left = (sw-w)/(2);
	var top = (sh-h)/(2);

	window.open("index.php?popup=1&q=meerinfo&p="+wat+"","pop","width="+w+",height="+h+",scrollbars=1,top="+top+",left="+left+",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,copyhistory=0");

}

function whois(domain){

	var w = 490;
	var h = 250;

	var sw = screen.availWidth;
	var sh = screen.availHeight;

	var left = (sw-w)/(2);
	var top = (sh-h)/(2);

	window.open("dot.php?fulldomain="+domain,"pop","width="+w+",height="+h+",scrollbars=1,top="+top+",left="+left+",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,copyhistory=0");

}

function cl(field, msg){

	if(eval(document.d[field].value==msg)){

		eval(document.d[field].value="");

	}
}

function orderpackage(pid){

	window.open('http://www.combell.com/order.php?l=1&pid='+pid,'order','width=622,height=500,toolbar=yes,status=yes,scrollbars=yes');

}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function dosubmit(target){
	doopen = window.open('order.asp',target,'width=750,height=430,scrollbars=yes');
	if(doopen.focus) { doopen.focus(); }
}

