<!--
IE = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
NS = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 ));
function openWindow(strPageToLoad,strWindowName,intWidth,intHeight)
{
	var xposition=0; yposition=0;
	xposition = (screen.width - intWidth) / 2;
	yposition = (screen.height - intHeight) / 2;
	strArgs = 	"width="  + intWidth + "," 
	+ "height=" + intHeight + "," 
	+ "location=no," 
	+ "menubar=no,"
	+ "resizable=no,"
	+ "scrollbars=yes,"
	+ "status=no," 
	+ "titlebar=no,"
	+ "toolbar=no,"
	+ "hotkeys=no,";
	if (IE) strArgs = strArgs	+ 	"left=" + xposition + ","
	+	"top=" + yposition;
	if (NS) strArgs = strArgs 	+	"screenx=" + xposition + ","
	+	"screeny=" + yposition;
	window.open(strPageToLoad, strWindowName, strArgs);
}
function resize() {
 w=600;
 h=700;
 if (parseInt(navigator.appVersion)>3) {
   if (navigator.appName=="Netscape") {
    top.outerWidth=w;
    top.outerHeight=h;
   }
   else top.resizeTo(w,h);
 }
 window.focus();
}
function mailto()
{
	var name = 'info';
	var domain = 'frozenwater.ch';
	document.location='mailto:'+name+'@'+domain;
}
function basket()
{
	ba=document.forms[0].a.value;
	bf=document.forms[0].f.value;
	bg=document.forms[0].g.value;
	bp=document.forms[0].p.value;
	if (bf!='' && bf!=' ' && bf!=undefined && bg!='' && bg!=' ' && bg!=undefined && bp!='' && bp!=' ' && bp!=undefined)
	{
		openWindow('basket_add.php?a='+ba+'&f='+bf+'&g='+bg+'&p='+bp,'basket_add',300,300);
	}
}
//-->