//	openWindow.js
//	function openNewWindow - opens pop up window
//	author	ari rizos	www.webology.net.au	info@webology.net.au
function openNewWindow(URLtoOpen, windowName, windowFeatures) 
{newWindow=window.open(URLtoOpen, windowName, windowFeatures);}
//	add the following code for the links
// javascript:openNewWindow('url.htm', 'fashion','height=400, width=313, toolbar=no, scrollbars=no')

function openCenterWindow(URLtoOpen, windowName,width,height) {        y = (screen.availHeight - height)/2;        x = (screen.availWidth - width)/2;    window.open(URLtoOpen, windowName,'toolbar=no, scrollbars=no, width='+width+',height='+height+',screenX='+x+',screenY='+y+',top='+y+',left='+x);}
