<!--
	//setTimeout(function(){ $('.notice').fadeOut('slow'); }, 2500);
	//setTimeout(function(){ $('.error').fadeOut('slow'); }, 2500);		








function popWindow(wName){

var mywin;
var width, height, left, top;

if(screen.width < 1024)
{
	width  = 800;
	height = 600;
}
else
{
	width  = 1024;
	height = 768;
}
left   = (screen.width  - width)/2;
top    = (screen.height - height)/2;

var params = 'width='+width+', height='+height;
params += ', top='+top+', left='+left;


mywin = window.open('',wName,params,"scrollbars=no, resizable=yes");
if(mywin.focus){ mywin.focus(); }
return true;
}


function popup(mylink, windowname)
{
  if (! window.focus)return true;
  var href;
  var width, height, left, top;

  if(screen.width < 1024)
  {
	  width  = 800;
  	  height = 600;
  }
  else
  {
	  width  = 1024;
	  height = 768;
  }
  left   = (screen.width  - width)/2;
  top    = (screen.height - height)/2;

  var params = 'width='+width+', height='+height;
  params += ', top='+top+', left='+left;

  if (typeof(mylink) == 'string')
	 href=mylink;
  else
	 href=mylink.href;
  window.open(href, windowname, params,"resizable=yes");
  return false;
}



//-->