/* JavaScript file */

function wfloat (target,size) {
	var size = size || 'width=685,height=563';
	var target = target || 'wfloat';
	openwnd ('',target,size);
}

var mode=0;
if (window.screen.width>900) {
mode=1;
} else {
mode=0;
}

function nWindow(oFile, wWidth, wHeight){
var cWidth=window.screen.width;
var cHeight=window.screen.height;
if(cHeight && cWidth){
	var leftOffset=Math.ceil((cWidth-wWidth)/2);
	var topOffset=Math.ceil((cHeight-wHeight)/2);
	window.open(oFile, "geliosavto", 'width='+wWidth+',height='+wHeight+',top='+topOffset+',left=' + leftOffset);
	}
return false;
}
