//--------[START]----------------Button--------------[START]------------------

function MM_openBrWindowCus(theURL,winName) { //v2.0
  features ="width=370,height=375";
  URL="images/"+theURL+".jpg";
  window.open(URL,winName,features);
}



function button (whatever)

{

	cookie_name = "ButtonCookie";

	var YouEntered;

	if(document.cookie != document.cookie) 

	{index = document.cookie.indexOf(cookie_name);}

	else 

	{ index = -1;}

	if (index == -1)

	{



	YouEntered=whatever;



	document.cookie=cookie_name+"="+YouEntered+"; expires=Monday, 04-Apr-2010 05:00:00 GMT";

	}

//alert ("Button: " +whatever)

}

//--------[END]----------------Button--------------[END]------------------







//----------[START]-------------------SubButton---------[START]-----------

function sub_button(whatever)

{

	cookie_name2 = "SubButtonCookie";

	var YouEntered2;

	if(document.cookie != document.cookie) 

	{index = document.cookie.indexOf(cookie_name2);}

	else 

	{ index = -1;}

	if (index == -1)

	{



	YouEntered2=whatever;



	document.cookie=cookie_name2+"="+YouEntered2+"; expires=Monday, 04-Apr-2010 05:00:00 GMT";

	}

//alert ("SubButton: " +whatever)

}

//--------[END]----------------SubButton--------------[END]------------------



//----------[START]-------------------SubSubButton---------[START]-----------

function sub_sub_button(whatever)

{

	cookie_name3 = "SubSubButtonCookie";

	var YouEntered3;

	if(document.cookie != document.cookie) 

	{index = document.cookie.indexOf(cookie_name3);}

	else 

	{ index = -1;}

	if (index == -1)

	{



	YouEntered3=whatever;



	document.cookie=cookie_name3+"="+YouEntered3+"; expires=Monday, 04-Apr-2010 05:00:00 GMT";

	}

//alert ("SubSubButton: " +whatever)

}



//--------[END]----------------SubSubButton--------------[END]------------------
