function show(id)
{
	var id1 = document.getElementById(id);
	if(id1.style.display == "none")
	id1.style.display = "block";
	else if(id1.style.display == "block")
	id1.style.display = "none";
	else
	id1.style.display = "block";
	
	
	
}


function shower(id,id2)
{
	var id1 = document.getElementById(id);
	var id2 = id2;
		if(id2 == "show")
	id1.style.display = "block";
	else if(id2 == "hide")
	id1.style.display = "none";
	else
	id1.style.display = "none";

	
	
	
}




   function PopupPic(sPicURL) {
     window.open( "popup.htm?"+sPicURL, "",  
     "resizable=1,scrolbars=1,HEIGHT=200,WIDTH=200");
   }
   
function hide(id)
{
	var id1 = document.getElementById(id);
	id1.style.display = "none"

}

var newwindow;
function poptastic(url, width, height)
{
	
	newwindow=window.open(url,'name','height='+height+',width='+width +', resizable=1,scrollbars = 1');
	if (window.focus) {newwindow.focus()}
}
function poptastic2(url, width, height)
{
	
	newwindow=window.open(url,'name','height='+height+',width='+width);
	if (window.focus) {newwindow.focus()}
}