//make widow Code
function makeHist(windowID,stupidHeight,stupidWidth){
	window.open(windowID,"", "width=",stupidWidth,"", "height=",stupidHeight,"","toolbar=no,status=no,scrollbars=no,resize=no,menubar=no");
}
function noLink(){ return;}


// Popup window
function winPop(URL, Name, Features)
	{
		window.open	(URL, Name, Features);
	}


// Validate options
function ValidateOptions(theForm)
{

  if (theForm.opt0.selectedIndex == 0 || theForm.opt0.selectedIndex == 1)
  {
    alert("Please select a size.");
    theForm.opt0.focus();
    return (false);
  }

  if (theForm.opt1.selectedIndex == 0 || theForm.opt1.selectedIndex == 1)
  {
    alert("Please select a color.");
    theForm.opt1.focus();
    return (false);
  }
  return (true);
}


//Move window
function movePopWin(winWidth, winHeight)

	{
		var scrWidth = screen.width;
		var Test = 1280;
		if(Test = 128)
			document.write("The width is 1280.")
		else
			ducument.write("The width is not.")
		var scrHeight = screen.height;
		var xPos = scrWidth - winWidth;
		var yPos = winHeight;
		
		window.moveTo(xPos, yPos);
	}

//Go to link
function clickwin(URL)
	{
		if (window.opener.closed)
		{
			window.open(URL);
			self.close();
		}
		window.opener.location.href=URL;
		self.close();
	}
