<!--

function showPicture() {
	
	void(0);
	
}

function ImgSwap(imgNum,imgSrc) {
	document.images[imgNum].src = imgSrc;
	//document.links[imgNum].href = "aa";
}

function colorChange(myCell,myStatus){
	if(myStatus == 1){
		myCell.style.background='#CC0066'
	}
	else{
		myCell.style.background='#ffffff'
	}
	
}

function pColorChange(noCell,myCell){
	
	if(noCell <= 16){
		hForm.hilite1.value = noCell;
	}
	if(noCell <= 32){
		hForm.hilite2.value = noCell;
	}
	if(noCell <= 48){
		hForm.hilite3.value = noCell;
	}
	if(noCell <= 64){
		hForm.hilite4.value = noCell;
	}
	

}

function openPageWindow(theURL,winName,features, myWidth, myHeight, isCenter){
	if(window.screen)if(isCenter)if(isCenter=="true"){
		var myLeft = (screen.width-myWidth)/2;
		var myTop = (screen.height-myHeight)/2;
		features+=(features!='')?',':'';
		features+=',left='+myLeft+',top='+myTop;
	}
	window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

function openPicturePreview(myId,winName,features, myWidth, myHeight, isCenter){
	if(window.screen)if(isCenter)if(isCenter=="true"){
		var myLeft = (screen.width-myWidth)/2;
		var myTop = (screen.height-myHeight)/2;
		features+=(features!='')?',':'';
		features+=',left='+myLeft+',top='+myTop;
	}
	
	if(myId == 1){
		myImage = hForm.hilite1.value;
	}
	
	if(myId == 2){
		myImage = hForm.hilite2.value;
	}
	
	if(myId == 3){
		myImage = hForm.hilite3.value;
	}
	
	if(myId == 4){
		myImage = hForm.hilite4.value;
	}
	//alert (myImage);
	myWidth = 350;
	myHeight = 450;
	window.open('picture.php?image=open_'+myImage+'.jpg',winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}
// -->
