// JavaScript Document
function openLib(libID) {
	var optionString = "menubar=no,toolbar=no,scrollbars=yes,location=no,resizeable=yes";
	var libWindow = window.open("pattern.php?showFull="+libID, "full_Library", optionString);
//	libWindow.focus();
	return false;
}

function getInternetExplorerVersion()
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
{
  var rv = -1; // Return value assumes failure.
  if (navigator.appName == 'Microsoft Internet Explorer')
  {
    var ua = navigator.userAgent;
    var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
    if (re.exec(ua) != null)
      rv = parseFloat( RegExp.$1 );
  }
  return rv;
}
function checkVersion()
{
  var  msg = "IE6 does not display this page correctly becuase of its in ability to caluculate hieghts right and no support for .png images.  We would like to give you the best experiance on a two week design so we just figured you would of upgraded to ie7 after a year of being out.  But if you wan't to continue with bugs, then go ahead.";
  var ver = getInternetExplorerVersion();

 // if (ver >= 0 && ver <= 6) 
   //      alert( msg );
  
  
}
