function getMWL() {
	var MWL = window.opener.location;
	return MWL;
	
}

function emailwindow() {
	window.open("/test/TAF.cfm","emailform","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,width=550,height=570");
}

function CloseWindow() {
	window.close();
}

function openInfo()
{
window.open("//www.insidersclub.net/Client120/222_A_info_123.gif","winInfo","width=300,height=435,left=150,top=100,menubar=0,toolbar=0,status=0,titlebar=0,resizable=1");
}


function checkcookie(name, value)
{
  var firstChar;
  theBigCookie = document.cookie;
  firstChar = theBigCookie.indexOf(name);
  if(firstChar == -1){
   	setCookie(name, value);
	return false;
  } 
}

function setCookie(name, value)
{
	Bcookie = name + "=" + escape(value);
	currentdate = new Date();
    currentdate.setTime(currentdate.getTime() + 365 * 60 * 60 * 1000);
	Bcookiedate = currentdate.toGMTString();
	Bcookie = Bcookie + ";expires=" + Bcookiedate + ";domain=" + "www.biggerbras.com" + ";path=" + "/";
	document.cookie = Bcookie;
}

function expirecookie(name, value)
{
	Bcookie = name + "=" + escape(value);
	currentdate = new Date();
    currentdate.setTime(currentdate.getTime()-3);
	Bcookiedate = currentdate.toGMTString();
	Bcookie = Bcookie + ";expires=" + Bcookiedate + ";domain=" + "www.biggerbras.com" + ";path=" + "/";
	document.cookie = Bcookie;
}

function getCookieValue(name)
{
  var firstChar, lastChar;
  theBigCookie = document.cookie;
  firstChar = theBigCookie.indexOf(name);
  if(firstChar != -1){
  firstChar += name.length + 1;
  lastChar = theBigCookie.indexOf(';', firstChar);
  	if(lastChar == -1) {
  		lastChar = theBigCookie.length;
  		return theBigCookie.substring(firstChar, lastChar);
  	} 
  }
  else {
  	return false;
  }
}

function checkForm(x) 
{ 
	if (x.descrb1.selectedIndex < 1) 
    {
        alert('Please choose your size.');
        return false;
	} 
}

function openWindow3() {
  popupWin = window.open('emailhelp.htm', 'remote3', 'width=300,height=425,left=20,top=20')
}


function Rcertify() 
{
popupWin = window.open('http://www.bbbonline.org/cks.asp?id=10206121253224197', 'Participant','location=yes,scrollbars=yes,width=450,height=300'); 
window.name = 'opener';
} 


function checkform2_new(the_form_object)
{
var color_index, size_index;
  
  color_index = the_form_object.descra1.selectedIndex;
  size_index = the_form_object.descrb1.selectedIndex;
  
  if (color_index == 0)
  {
   alert( "Please select a color" );
   the_form_object.descra1.focus();
   return false;
  }
  
  if (size_index == 0)
  {
   alert( "Please select a size and color" );
   the_form_object.descrb1.focus();
   return false;
  }
  
        
  return true;
}

function trial_checkform_new(the_form_object)
{
var size_index;
  
  size_index = the_form_object.descrb1.selectedIndex.options[selectedIndex].value;
  
  
  if (size_index == null)
  {
   alert( "Please select a size and color" );
   the_form_object.descrb1.focus();
   return false;
  }
  
        
  return true;
}

function checkform_new(the_form_object)
{
var size_index;
  
  size_index = the_form_object.descrb1.selectedIndex;
  
  
  if (size_index == 0)
  {
   alert( "Please select a size and color" );
   the_form_object.descrb1.focus();
   return false;
  }
  
        
  return true;
}


<!-- Idea by:  Nic Wolfe (Nic@TimelapseProductions.com) -->
<!-- Web URL:  http://fineline.xs.mw -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function popUpMovie(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=685,height=475');");
}
// End -->



