function OpenPage(page){
	this.location.replace(page+".php");
}
function OpenPDF(path, page){
	LinkPDFWin = window.open(path+page+".pdf","","width=800px, height=600px, resizable, scrollbars, toolbar, menubar, status, location");
}
function OpenPreview(page){
	PreviewWin = window.open(page,"","fullscreen, resizable");
}
function OpenLink(link){
	LinkWin = window.open(link,"","fullscreen, scrollbars, resizable, toolbar, menubar, status, location");
}
function OpenWinLink(link){
	WinLink = window.open(link,"","width=800px, height=600px, scrollbars, resizable, toolbar, menubar, status, location");
}
function OpenWinPage(page){
	WinPage = window.open(page+'.php',"","width=740px, height=600px, scrollbars, resizable, status=yes");
}
function OpenOrder(item){
	OrderWin = window.open(item,"","width=660px, height=300px, resizable, status=no");
}
function OpenCart(item){
	CartWin = window.open(item,"","width=840px, height=520px, resizable, status=no, scrollbars");
}
function OpenWinPopup(page){
	WinPopup = window.open(page,"","width=640px, height=480px, resizable, status=no");
}
function PagePrint(){
	window.print();
}