<!--
function swap(img,isrc) 
{
   if (!document.images) 
   {
   	return;
   }
   document.images[img].src = isrc;
}

function refreshparent()
{
	//alert('hello');
	window.parent.location.reload();
}

function click() 
{
	alert('hello');
    	//document.ButtonStyleForm.radiobuttonstyle[which].checked = true;
}
function checkimg(img)
{
	img.src='images/no_image.gif';
}

//-- This function opens the new, empty window named floater.
function openWindow(page,target,features)
{
	   	winStats=features
	   	//'toolbar=no,location=no,directories=no,menubar=no,scrollbars="+scrollbars+",width=300,height=200'
	   	if (navigator.appName.indexOf("Microsoft")>=0)
	   	{
	      	winStats+=',left=100,top=100'
	    	}
	    	else
	    	{
	      	winStats+=',screenX=100,screenY=100'
	    	}
	    	floater=window.open(page,target,winStats)     
}

function popWin(page,target,width,height,location,resizable,scrollbars,toolbars)
{
		window.open(page,target,'"width="+width+",height="+height+",location="+location+",resizable="+resizable+",scrollbars="+scrollbars+",toolbars="+toolbars+"');
}

var popWin = null;
function popUp(popUrl,popWinName,popWidth,popHeight,location,resizable,scrollbars,toolbars)
{
	if(!popWin || popWin.closed) 
	{
  		popWin = window.open(popUrl,popWinName,'"width="+popWidth+",height="+popHeight+",location="+location+",resizable="+resizable+",scrollbars="+scrollbars+",toolbars="+toolbars+"');
 	}
 	else 
	{
  		popWin.location = popUrl;
  		//popWin.resizeTo(popWidth, popHeight);
  		popWin.focus();
 	}
}
function closer(timeout)
{
	window.opener.location.reload(true);
	setTimeout("self.close()",timeout*1000);
}

function confirmSubmit(text)
{
	var agree=confirm(text);
	if (agree)
		return true ;
	else
		return false ;
}
//-->






