<!--
/* javascript functions for including in the xfer.ch pages */


function checkLinux(platform) {
	var lxReg=/linux/i;
	if(lxReg.test(platform)) return true;
	else return false;
}

function makePopupWindow(aName,anURL) {
	hasSeen=true;
    	newPopupWindow = window.open(anURL,aName,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,dependent=0,height=300,width=300,left=200,screenX=200,top=100,screenY=100");
    	newPopupWindow.name=aName;
    	newPopupWindow.focus(); 
//	newPopupWindow.setTimeout("window.close()",5000);
}

function reorder(a,b,c) {

	var res=b;
	res+=a;
	res+='@';
	res+=c;

	return res;
}

function shlink_info() {
	document.write("<a href='javascript:mklink_info();'>");
	document.write(reorder('nfo','i','xfer.ch'));
	document.write("</a>\n");
}

function mklink_info() {
	var location="mai";
	location+="lto:";
	location+=reorder('fo','in','xfer.ch');
	parent.location=location;
}

// -->

