//JavaScript - Copyright by mediaLINK - v1.41/19.01.2004

if (self.location.href.indexOf("deutsch") > -1){
	langSection="deutschS";
}

if (self.location.href.indexOf("francais") > -1){
	langSection="francaisS";
}

if (self.location.href.indexOf("italiano") > -1){
	langSection="italianoS";
}

//window-definitions
orderW = 400;
orderH = 500;

if (parseInt(navigator.userAgent.substring(8,9)) >=4){
	leftW = parseInt((screen.availWidth-orderW)/2)
	topH = parseInt((screen.availHeight-orderH)/2);
}else{
	leftW = 0;
	topH = 0;
}

statsOrder = "toolbar=no,location=no,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no,width="+orderW+",height="+orderH+",left="+leftW+",top="+topH;

//secure entry
function sslentry(docPath){
	pre="../../";
	docPath=pre+docPath;
	winOrder = null;
 	winOrder = window.open(docPath,"Order",statsOrder);
}

function order(artNumber,artTitle,artPrice){
	path=langSection+'/order.htm?' + artNumber+'&&'+escape(entityParse(artTitle))+'&&'+artPrice;
	wait=setTimeout("sslentry(path)",100);
}
