<!---- === Confirm Delete Submit Button === ----->
function confirmSubmit(x)
{
if (confirm(x))
return true ;
else
return false ;
}

<!---- === Open Popup Window === ----->
function Start(page,features) {
OpenWin = this.open(page, 'new', features);
}

<!---- === Confirm Delete Link === ----->
function go_there(delthis) {
if(confirm('Do you really want to delete this record?'))
window.location=delthis;
}

<!---- === Addprod.asp Delete product === ----->
function del_product(delthis) {
if(confirm('Do you really want to delete this record?'))
window.location=delthis;
}

<!---- === Refresh the parent window == -->
function out()
{
window.opener.location.reload()
}

<!---- === Confirm Delete Database === ----->
function deletedb(delthis) {
if(confirm('Do you really want to delete this database'))
window.location=delthis;
}

<!---- === Confirm Change Language === ----->
function changemoney(changethis) {
if(confirm('This will delete all products currently in your basket'))
window.location=changethis;
}

<!---- === Confirm Change Order === ----->
function changeorder(changeorder) {
if(confirm('You cannot undo this action. Make sure the order is complete before you continue'))
window.location=changeorder;
}

<!---- === Large Image Functions === ----->
function largeimage(page,height) {
OpenWin = this.open(page, 'new', 'height=550,width=575,location=no,directories=no,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes');
}

function del_limage(delthis) {
if(confirm('Do you really want to remove this image'))
window.location=delthis;
}

function cellOver(thisCell) {
	thisCell.style.backgroundColor = '#FFFFFF';
	thisCell.style.color = '#000000';	

return true;
}

function cellOut(thisCell) {
	thisCell.style.backgroundColor = '#000000';
	thisCell.style.color = '#FFFFFF';

return true;
}

function open_Custom_Window(page,Dims) {
OpenWin = this.open(page, 'new',Dims );
}

<!--- Print The Invoices --->
function cmdprint(){
myspan.style.display = 'none';
window.print();
}

function window.onafterprint(){
myspan.style.display='';
}

