// Copyright 2005 Seeker Software
var win = null;
var nFormat=1; // emb machine

function opsignin()
{
	var left=100;//document.getElementById('myimage').style.left
	var top=20;//document.getElementById('myimage').style.top
	
		//create pop-up window
	if( win )
	{
		win.window.close();
		win = null;
	}	
//   win=open("http://www.enchantedembroidery.com/php/viewset.php?pImage='"+pImage+"'",
   win=open("http://www.enchantedembroidery.com/php/login.php",
             "displaywindow",
             "width=200,height=250,status=no,scrollbars=yes,resizeable=no,toolbar=no,menubar=no");
   if( win )
	   win.moveTo(left,top);
	else
	   alert( "Please disable pop blocker or click the add this site to your trusted list of sites!\r\r Click the warning bar above.\r\
	      click Popup clockers->Add this site\rRestart explorer\r\r\Note, Enchanted Embroidery does not use popups for ads during your visit!" );
		
}

function register()
{
	win=open("", "displaywindow","width=400,height=120,status=no,scrollbars=yes,resizeable=yes,toolbar=no,menubar=no");
	win.document.open();
	win.document.write("<html><head>");
	win.document.write("</head><body bgColor='#ccffcc'>");
	win.document.write("<div align='center'>When available, you will be able to sign up for an account!</div>");
	win.document.write("</body></html>");
	win.document.close();
}
function opencart()
{
	win=open("", "displaywindow","width=200,height=120,status=no,scrollbars=yes,resizeable=yes,toolbar=no,menubar=no");
	win.document.open();
	win.document.write("<html><head>");
	win.document.write("</head><body bgColor='#00C000'>");
	win.document.write("<div align='center'>No carts available at this time!</div>");
	win.document.write("</body></html>");
	win.document.close();
	win.moveTo(left,top);
}
function Table1_onclick()
{
}

function closewindow()
{
	if( win )
	   win.window.close();
}
