
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}

function confirmDelete()
{
var agree=confirm("Are you sure you delete this item?");
if (agree)
	return true ;
else
	return false ;
}



function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) /4;
var wint = (screen.height - h) /2 ;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=0, menubar=0, location=0'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function openShareIt() {
		if (document.getElementById) { 
			document.getElementById('share').style.visibility = 'visible'; 
		} 
			else { 
				if (document.layers) { 
					document.share.visibility = 'visible'; 
				} 
					else { 
						document.all.share.style.visibility = 'visible'; 
					} 
			} 
	} 
	
	function closeShareIt() {
		if (document.getElementById) { 
			document.getElementById('share').style.visibility = 'hidden'; 
		} 
			else { 
				if (document.layers) { 
					document.share.visibility = 'hidden'; 
				} 
					else { 
						document.all.share.style.visibility = 'hidden'; 
					} 
			} 
	}
