function preload() {

image01=new Image();

image01.src="images/top-but1-roll.gif";

image02=new Image();

image02.src="images/top-but2-roll.gif";

image03=new Image();

image03.src="images/top-but3-roll.gif";

image04=new Image();

image04.src="images/top-but4-roll.gif";

image05=new Image();

image05.src="images/top-but5-roll.gif";

image06=new Image();

image06.src="images/top-but6-roll.gif";

image07=new Image();

image07.src="images/home-icon-news-on.gif";

image08=new Image();

image08.src="images/home-icon-alert-on.gif";

image09=new Image();

image09.src="images/home-icon-picweek-on.gif";

}


function startsite() {
	window.location="open.php";
}

function initialdetectbrowser() {

bName = navigator.appName;

bVer = parseInt (navigator.appVersion);

minimumIEbrowser = 4;

minimumNSbrowser = 5;

theBrowser = "null";

if (bName == "Netscape" && bVer >= minimumNSbrowser)

	theBrowser = "goodbrowser";

	else if (bName == "Microsoft Internet Explorer" && bVer >= minimumIEbrowser) theBrowser = "goodbrowser";

if (theBrowser == "goodbrowser")

	window.location="open.php";

	else window.location="incompatible.php";

}



function changemenu(menu_name) {

menu_name = "set-" + menu_name + ".htm";

parent.location = menu_name;

}



function buildmenu() {

document.writeln('<?php include(\"header.php\");?></td></tr>');

document.writeln('<body background=\"images/top-strip-01.jpg\">');

document.writeln('<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">');

document.writeln('<tr><td><?php include(\"fanclub-frame1.php\");?></td></tr>');

document.writeln('<tr><td><?php include(\"fanclub-frame2.php\");?></td></tr>');

document.writeln('<tr><td><?php include(\"fanclub-frame3.php\");?></td></tr>');

document.writeln('<tr><td><?php include(\"fanclub-frame4-1.php\");?></td></tr>');

document.writeln('<tr><td><?php include(\"frame5.php\");?></td></tr>');

document.writeln('</table>');

document.writeln('<body>');

}



function changepic(img_name,img_src) {

document[img_name].src=img_src;

}



function randomnum(max) {

var now = new Date();

var sec = now.getSeconds();

var rn = sec % max;

rn +=1;

return(rn);

}



function getrandom(min,max)

{

  return (Math.round(Math.random()*(max-min)))+min;

}



function diff(d1, d2) {

    var fullday = 1000 * 60 * 60 * 24

    var d1_ms = d1.getTime()

    var d2_ms = d2.getTime()

    var diff_ms = Math.abs(d1_ms - d2_ms)

    return Math.round(diff_ms/fullday)

}



function picnum() {

totalpics=67;

today=new Date();

firstpicdate=new Date("Sep 6, 2006, 12:00:00");

var todaysnum=diff(today,firstpicdate);

todaysnum=(todaysnum%totalpics)+1;

if (todaysnum<10) todaysnum="00"+todaysnum

	else if (todaysnum<100) todaysnum="0"+todaysnum;

document.write(todaysnum);

}



function movieblock(moviename,directorname,producername,releasedate,purchaseavailable,purchasesite,imdbavailable,imdbsite,yahooavailable,yahoosite){

document.writeln('  <tr>');

document.writeln('    <td width="339" valign="top">');

document.writeln('      <table border="0" width="100%" cellspacing="0" cellpadding="0">');

document.writeln('        <tr>');

document.writeln('          <td colspan="2" valign="top" background="images/movie-name-dots.gif"><span class="movietitle">'+moviename+'</span></td>');

document.writeln('          <td align="right" valign="top" background="images/movie-name-dots.gif">');

document.writeln('<a href="'+purchasesite+'" target="_blank" onmouseover="changepic(\'buy'+moviename+'\',\'images/button-buy-roll.gif\')" onmouseout="changepic(\'buy'+moviename+'\',\'images/button-buy.gif\')"><img name="buy'+moviename+'" border="0" src="images/button-buy.gif" alt="Buy"></a></td>');

document.writeln('        </tr>');

document.writeln('        <tr>');

document.writeln('          <td valign="top" class="movielabel" width="70">Director: </td>');

document.writeln('          <td valign="top" class="moviecrew" width="179">'+directorname+'</td>');

document.writeln('          <td align="right" valign="top" class="movielink">Rel: '+releasedate+'</td>');

document.writeln('        </tr>');

document.writeln('        <tr>');

document.writeln('          <td valign="top" class="movielabel" width="30">Producer: </td>');

document.writeln('          <td valign="top" class="moviecrew" width="179">'+producername+'</td>');

document.writeln('          <td align="right" valign="top">');

if(imdbavailable)

	document.writeln('<a href="'+imdbsite+'" target="_blank" class="movielink">IMDB Page</a><br>');

if(yahooavailable)

	document.writeln('<a href="'+yahoosite+'" target="_blank" class="movielink">Yahoo Page</a>');

document.writeln('					</td>');

document.writeln('        </tr>');

document.writeln('      </table>');

document.writeln('    </td>');

document.writeln('    <td width="60" valign="top"><a href="'+purchasesite+'" target="_blank"><img class="subimg25" src="images/video/movie-'+moviename+'-tn.gif" height="72" width="60" border="0"></a></td>');

document.writeln('  </tr>');

}



function tvblock(tvname,releasedate,pierceas,purchaseavailable,purchasesite,moreavailable,moresite){

document.writeln('  <tr>');

document.writeln('    <td width="339" valign="top">');

document.writeln('      <table border="0" width="100%" cellspacing="0" cellpadding="0">');

document.writeln('        <tr>');

document.writeln('          <td colspan="2" valign="top" background="images/movie-name-dots.gif"><span class="movietitle">'+tvname+'</span></td>');

document.writeln('          <td align="right" valign="top" background="images/movie-name-dots.gif">');

if(purchaseavailable) document.writeln('<a href="'+purchasesite+'" target="_blank" onmouseover="changepic(\'buy'+tvname+'\',\'images/button-buy-roll.gif\')" onmouseout="changepic(\'buy'+tvname+'\',\'images/button-buy.gif\')"><img name="buy'+tvname+'" border="0" src="images/button-buy.gif" alt="Buy"></a></td>');

document.writeln('        </tr>');

document.writeln('        <tr>');

document.writeln('          <td valign="top" class="movielabel" width="75">Rel: </td>');

document.writeln('          <td valign="top" class="moviecrew" width="180">'+releasedate+'</td>');

if(moreavailable)

	document.writeln('<td><a href="'+moresite+'" target="_blank" class="movielink">More Info \></a></td>');

document.writeln('        </tr>');

document.writeln('        <tr>');

document.writeln('          <td valign="top" width="75"><span class="movielabel">Pierce as:</span></td>');

document.writeln('          <td valign="top" class="moviecrew" width="180">'+pierceas+'</td>');

document.writeln('          <td align="right" valign="top">');

document.writeln('					</td>');

document.writeln('        </tr>');

document.writeln('      </table>');

document.writeln('    </td>');

document.writeln('    <td width="60" valign="top"><a href="'+purchasesite+'" target="_blank"><img class="subimg25" src="images/video/tv-'+tvname+'-tn.gif" height="72" width="60" border="0"></a></td>');

document.writeln('  </tr>');

}



function changepainting(num,localprev) {

document['big-painting'].src='images/main-painting-'+num+'.jpg';

document['painting-button-'+num].src='images/icon-painting-x.gif';

document['painting-button-'+localprev].src='images/icon-painting-'+localprev+'.gif';

prev = num;

}



function decreasepainting() {

current = prev-1;

if (current < 1) current = 26;

document['big-painting'].src='images/main-painting-'+current+'.jpg';

document['painting-button-'+current].src='images/icon-painting-x.gif';

document['painting-button-'+prev].src='images/icon-painting-'+prev+'.gif';

prev = current;

}



function increasepainting() {

current = prev+1;

if (current > 26) current = 1;

document['big-painting'].src='images/main-painting-'+current+'.jpg';

document['painting-button-'+current].src='images/icon-painting-x.gif';

document['painting-button-'+prev].src='images/icon-painting-'+prev+'.gif';

prev = current;

}



function picktagline() {

var factn = randomnum(33);



switch (factn) 

{

case 1: 

  document.writeln('1953 - Pierce Brendan Brosnan born on May 16 in Drogheda, County Louth, Ireland');

  break

case 2: 

  document.writeln('1964 - Pierce moves to London');

  break

case 3: 

  document.writeln('1969 - Pierce leaves school at age 16');

  break

case 4: 

  document.writeln('1969 - Pierce begins working as a commercial artist at Ravenna Studios in South London');

  break

case 5: 

  document.writeln('1971 - Pierce discovers the world of acting at the Oval House Theatre');

  break

case 6: 

  document.writeln('1971 - Pierce tours England and Amsterdam doing workshops and theatre');

  break

case 7: 

  document.writeln('1971 - Pierce forms a street theatre company called Theatre Spiel');

  break

case 8: 

  document.writeln('1971 - Pierce forms Oval House Theatre Company');

  break

case 9: 

  document.writeln('1973 - Pierce studies at the Drama Centre in London');

  break

case 10: 

  document.writeln('1977 - Pierce cast by Tennesee Williams in \'The Red Devil Battery Sign\'');

  break  

case 11: 

  document.writeln('1977 - Pierce meets Cassandra Harris in London');

  break

case 12: 

  document.writeln('1980 - Pierce marries Cassandra Harris in December; adopts Charlotte and Christopher');

  break

case 13: 

  document.writeln('1980 - Pierce cast by Franco Zeffirelli in \'Filumena\'');

  break

case 14: 

  document.writeln('1981 - Pierce appears in ABC TV miniseries \'The Manions of America\'');

  break

case 15: 

  document.writeln('1982 - Pierce comes to America and lands first audition, \'Remington Steele\'');

  break

case 16: 

  document.writeln('1982 - \'Remington Steele\' premieres on NBC');

  break

case 17: 

  document.writeln('1983 - Sean William Walter Brosnan is born on September 13th in Los Angeles, CA');

  break

case 18: 

  document.writeln('1984 - Pierce lands first starring role in the feature film \'Nomads\'');

  break

case 19: 

  document.writeln('1986 - \'Remington Steele\' is cancelled by NBC');

  break

case 20: 

  document.writeln('1986 - Pierce can\'t get out of NBC contract, loses Bond role to Timothy Dalton');

  break    

case 21: 

  document.writeln('1986 - Pierce stars in miniseries \'Noble House\'');

  break

case 22: 

  document.writeln('1989 - Pierce stars in miniseries \'Around the World in 80 Days\'');

  break

case 23: 

  document.writeln('1990 - Pierce stars in feature film \'Mr. Johnson\' directed by Bruce Beresford');

  break

case 24: 

  document.writeln('1992 - Pierce stars in \'The Lawnmower Man\' directed by Brett Leonard');

  break

case 25: 

  document.writeln('1992 - Pierce stars in \'Live Wire\' directed by Christian Duguay');

  break

case 26: 

  document.writeln('1993 - Pierce co-stars in \'Mrs. Doubtfire\' directed by Christopher Columbus');

  break

case 27: 

  document.writeln('1993 - Pierce stars in \'Death Train\' directed by David Jackson');

  break

case 28: 

  document.writeln('1994 - In the spring, Pierce meets Keely Shaye in Mexico');

  break

case 29: 

  document.writeln('1994 - On June 1st, Pierce is offered Bond role once again');

  break

case 30: 

  document.writeln('1994 - Pierce films \'Robinson Crusoe\' directed by Rod Hardy and George Miller');

  break

case 31: 

  document.writeln('1994 - In the fall, Pierce stars in \'Nightwatch\' directed by David Jackson');

  break

case 32: 

  document.writeln('1995 - In January, Pierce begins production on \'GoldenEye\' directed by Martin Campbell');

  break

case 33: 

  document.writeln('1995 - \'GoldenEye\' premieres on November 17th, earns $375 million worldwide');

  break

}

}



function noclick(e) {

return true;

}



function associateimages(){

return true;

}



function PleaseDoNotReproduceImages(){

return true;

}




function formatCurrency(str)
{
	str=str.toString().replace(/\$|\,/g,'');
	if(!(isNaN(str))){
		dblValue=parseFloat(str);
	
		blnSign=(dblValue == (dblValue = Math.abs(dblValue)));
		dblValue=Math.floor(dblValue*100+0.50000000001);
		intCents=dblValue%100;
		strCents=intCents.toString();
		dblValue=Math.floor(dblValue/100).toString();
		if(intCents<10)
			strCents="0"+strCents;
		for (var i=0;i<Math.floor((dblValue.length-(1+i))/3);i++)
			dblValue=dblValue.substring(0,dblValue.length-(4*i+3))+','+dblValue.substring(dblValue.length-(4*i+3));
		return(((blnSign)?'':'-')+dblValue+'.'+strCents);
	}else{
		return str
	}
}


function change_values(){


// if outside usa, change to outside california

 if (document.mainform.ShipCountry.value == 0)

 	{document.mainform.UseTax.value = 2};



// find total number of shirts

total_shirts = parseInt(document.mainform.MedQty.value) + parseInt(document.mainform.LargeQty.value) + parseInt(document.mainform.XLargeQty.value);



// reset shirts if order is too large

if (((total_shirts > 5) && (document.mainform.ShipCountry.value == 1)) || ((total_shirts > 3) && (document.mainform.ShipCountry.value == 0)))

	{alert('Sorry, a maximum of 5 shirts may be ordered (3 shirts outside the USA)');

	 document.mainform.MedQty.value = 0;

	 document.mainform.LargeQty.value = 0;

	 document.mainform.XLargeQty.value = 0;	 

	 document.mainform.T_Med_Total.value = "";

	 document.mainform.T_Large_Total.value = "";

	 document.mainform.T_XLarge_Total.value = "";

	 total_shirts = 0;

	}



T_Med_Price = (document.mainform.MedQty.value * 24.95);

if (document.mainform.MedQty.value != 0)

	{document.mainform.T_Med_Total.value = "$" + formatCurrency(T_Med_Price)}


	else {document.mainform.T_Med_Total.value = ""};



T_Large_Price = (document.mainform.LargeQty.value * 24.95);

if (document.mainform.LargeQty.value != 0)

	{document.mainform.T_Large_Total.value = "$" + formatCurrency(T_Large_Price)}


	else {document.mainform.T_Large_Total.value = ""};		

	

T_XLarge_Price = (document.mainform.XLargeQty.value * 24.95);

if (document.mainform.XLargeQty.value != 0)
	
	{document.mainform.T_XLarge_Total.value = "$" + formatCurrency(T_XLarge_Price)}

	else {document.mainform.T_XLarge_Total.value = ""};	


	
total_paintings = parseInt(document.mainform.JulianCanvasQty.value) + parseInt(document.mainform.JulianPaperQty.value) + parseInt(document.mainform.CastroCanvasQty.value) + parseInt(document.mainform.CastroPaperQty.value) + parseInt(document.mainform.FijiCanvasQty.value) + parseInt(document.mainform.FijiPaperQty.value) + parseInt(document.mainform.BisouCanvasQty.value) + parseInt(document.mainform.BisouPaperQty.value) + parseInt(document.mainform.MachoCanvasQty.value) + parseInt(document.mainform.MachoPaperQty.value);	

if (total_paintings > 2)

	{alert('Sorry, a maximum of 2 paintings may be ordered');

	 document.mainform.JulianCanvasQty.value = 0;

	 document.mainform.JulianPaperQty.value = 0;

	 document.mainform.P_Julian_Canvas.value = "";

	 document.mainform.P_Julian_Paper.value = "";

	 document.mainform.CastroCanvasQty.value = 0;

	 document.mainform.CastroPaperQty.value = 0;

	 document.mainform.P_Castro_Canvas.value = "";

	 document.mainform.P_Castro_Paper.value = "";

	 document.mainform.FijiCanvasQty.value = 0;

	 document.mainform.FijiPaperQty.value = 0;

	 document.mainform.P_Fiji_Canvas.value = "";

	 document.mainform.P_Fiji_Paper.value = "";

	 document.mainform.BisouCanvasQty.value = 0;

	 document.mainform.BisouPaperQty.value = 0;

	 document.mainform.P_Bisou_Canvas.value = "";

	 document.mainform.P_Bisou_Paper.value = "";

	 document.mainform.MachoCanvasQty.value = 0;

	 document.mainform.MachoPaperQty.value = 0;

	 document.mainform.P_Macho_Canvas.value = "";

	 document.mainform.P_Macho_Paper.value = "";

	 total_paintings = 0;

}


P_Julian_Canvas_Price = (document.mainform.JulianCanvasQty.value * 1995);

if (document.mainform.JulianCanvasQty.value != 0)
	
	{document.mainform.P_Julian_Canvas.value = "$" + formatCurrency(P_Julian_Canvas_Price)}

	else {document.mainform.P_Julian_Canvas.value = ""};


P_Julian_Paper_Price = (document.mainform.JulianPaperQty.value * 1995);

if (document.mainform.JulianPaperQty.value != 0)
	
	{document.mainform.P_Julian_Paper.value = "$" + formatCurrency(P_Julian_Paper_Price)}

	else {document.mainform.P_Julian_Paper.value = ""};		
	

P_Castro_Canvas_Price = (document.mainform.CastroCanvasQty.value * 1995);

if (document.mainform.CastroCanvasQty.value != 0)
	
	{document.mainform.P_Castro_Canvas.value = "$" + formatCurrency(P_Castro_Canvas_Price)}

	else {document.mainform.P_Castro_Canvas.value = ""};


P_Castro_Paper_Price = (document.mainform.CastroPaperQty.value * 1995);

if (document.mainform.CastroPaperQty.value != 0)
	
	{document.mainform.P_Castro_Paper.value = "$" + formatCurrency(P_Castro_Paper_Price)}

	else {document.mainform.P_Castro_Paper.value = ""};		
	

P_Fiji_Canvas_Price = (document.mainform.FijiCanvasQty.value * 1995);

if (document.mainform.FijiCanvasQty.value != 0)
	
	{document.mainform.P_Fiji_Canvas.value = "$" + formatCurrency(P_Fiji_Canvas_Price)}

	else {document.mainform.P_Fiji_Canvas.value = ""};


P_Fiji_Paper_Price = (document.mainform.FijiPaperQty.value * 1995);

if (document.mainform.FijiPaperQty.value != 0)
	
	{document.mainform.P_Fiji_Paper.value = "$" + formatCurrency(P_Fiji_Paper_Price)}

	else {document.mainform.P_Fiji_Paper.value = ""};		
	
	
P_Bisou_Canvas_Price = (document.mainform.BisouCanvasQty.value * 995);

if (document.mainform.BisouCanvasQty.value != 0)

	{document.mainform.P_Bisou_Canvas.value = "$" + formatCurrency(P_Bisou_Canvas_Price)}

	else {document.mainform.P_Bisou_Canvas.value = ""};	
	
	
P_Bisou_Paper_Price = (document.mainform.BisouPaperQty.value * 995);

if (document.mainform.BisouPaperQty.value != 0)

	{document.mainform.P_Bisou_Paper.value = "$" + formatCurrency(P_Bisou_Paper_Price)}

	else {document.mainform.P_Bisou_Paper.value = ""};
	

P_Macho_Canvas_Price = (document.mainform.MachoCanvasQty.value * 995);

if (document.mainform.MachoCanvasQty.value != 0)

	{document.mainform.P_Macho_Canvas.value = "$" + formatCurrency(P_Macho_Canvas_Price)}

	else {document.mainform.P_Macho_Canvas.value = ""};	
	
	
P_Macho_Paper_Price = (document.mainform.MachoPaperQty.value * 995);

if (document.mainform.MachoPaperQty.value != 0)

	{document.mainform.P_Macho_Paper.value = "$" + formatCurrency(P_Macho_Paper_Price)}

	else {document.mainform.P_Macho_Paper.value = ""};		
	

Subtotal_calc = 
(parseFloat(T_Med_Price)) + (parseFloat(T_Large_Price)) + (parseFloat(T_XLarge_Price)) + 
(parseFloat(P_Julian_Canvas_Price)) + (parseFloat(P_Julian_Paper_Price)) + 
(parseFloat(P_Castro_Canvas_Price)) + (parseFloat(P_Castro_Paper_Price)) + 
(parseFloat(P_Fiji_Canvas_Price)) + (parseFloat(P_Fiji_Paper_Price)) + 
(parseFloat(P_Bisou_Canvas_Price)) + (parseFloat(P_Bisou_Paper_Price)) + 
(parseFloat(P_Macho_Canvas_Price)) + (parseFloat(P_Macho_Paper_Price));

if (Subtotal_calc != 0)

	{document.mainform.Subtotal.value = "$" + formatCurrency(Subtotal_calc)}


	else {document.mainform.Subtotal.value = ""};



if ((document.mainform.UseTax.value == 1) && (Subtotal_calc != 0)) 

	{Salestax_price = 0.0825 * Subtotal_calc;

	document.mainform.Salestax_display.value = "$" + formatCurrency(Salestax_price)}

	else {document.mainform.Salestax_display.value = "";

		Salestax_price=0};




if (document.mainform.ShipCountry.value == 1) {

	switch (total_shirts) 

	{

	case 0: 

  	document.mainform.Shipping.value = "";

  	  total_shipping = 0;

	  break

	case 1: 

	  total_shipping = 4.95;

	  break

	case 2: 

	  total_shipping = 4.95;

	  break

	case 3: 

	  total_shipping = 6.75;

	  break	  

	case 4: 

	  total_shipping = 6.75;

	  break

	case 5: 

	  total_shipping = 9.95;

	  break	  	  

	};
	
	total_shipping=total_shipping + (total_paintings * 19.95);


} else {

	switch (total_shirts) 

	{

	case 0: 

  	document.mainform.Shipping.value = "";	

  	  total_shipping = 0;

	  break

	case 1: 

	  total_shipping = 9.95;

	  break

	case 2: 

	  total_shipping = 10.95;

	  break

	case 3: 

	  total_shipping = 10.95;

	  break	  

	};
	
	total_shipping=total_shipping + (total_paintings * 39.95);
	

}



if (total_shipping > 0)

	{document.mainform.Shipping.value = "$" + formatCurrency(total_shipping)}

	

	

total_price = parseFloat(Subtotal_calc + total_shipping + Salestax_price);



document.mainform.ssl_amount.value = formatCurrency(total_price);


document.mainform.amount_display.value = "$" + formatCurrency(total_price);




if (document.mainform.MedQty.value != 0) {MedQty = document.mainform.MedQty.value + ' Medium Official T-shirt(s).  '} else {MedQty = ""}


if (document.mainform.LargeQty.value != 0) {LargeQty = document.mainform.LargeQty.value + ' Large Official T-shirt(s).  '} else {LargeQty = ""}
	

if (document.mainform.XLargeQty.value != 0) {XLargeQty = document.mainform.XLargeQty.value + ' Extra Large Official T-shirt(s).  '} else {XLargeQty = ""}


if (document.mainform.JulianCanvasQty.value != 0) {Julian_PaintingCanvas = document.mainform.JulianCanvasQty.value + ' Canvas Julian Painting(s).  '} else {Julian_PaintingCanvas = ""}	


if (document.mainform.JulianPaperQty.value != 0) {Julian_PaintingPaper = document.mainform.JulianPaperQty.value + ' Paper Julian Painting(s).  '} else {Julian_PaintingPaper = ""}


if (document.mainform.CastroCanvasQty.value != 0) {Castro_PaintingCanvas = document.mainform.CastroCanvasQty.value + ' Canvas Viva Cuba Libre Painting(s).  '} else {Castro_PaintingCanvas = ""}	


if (document.mainform.CastroPaperQty.value != 0) {Castro_PaintingPaper = document.mainform.CastroPaperQty.value + ' Paper Viva Cuba Libre Painting(s).  '} else {Castro_PaintingPaper = ""}


if (document.mainform.FijiCanvasQty.value != 0) {Fiji_PaintingCanvas = document.mainform.FijiCanvasQty.value + ' Canvas Fiji Painting(s).  '} else {Fiji_PaintingCanvas = ""}	


if (document.mainform.FijiPaperQty.value != 0) {Fiji_PaintingPaper = document.mainform.FijiPaperQty.value + ' Paper Fiji Painting(s).  '} else {Fiji_PaintingPaper = ""}	


if (document.mainform.BisouCanvasQty.value != 0) {Bisou_PaintingCanvas = document.mainform.BisouCanvasQty.value + ' Canvas Bisou Moi Painting(s).  '} else {Bisou_PaintingCanvas = ""}	


if (document.mainform.BisouPaperQty.value != 0) {Bisou_PaintingPaper = document.mainform.BisouPaperQty.value + ' Paper Bisou Moi Painting(s).  '} else {Bisou_PaintingPaper = ""}
	
	
if (document.mainform.MachoCanvasQty.value != 0) {Macho_PaintingCanvas = document.mainform.MachoCanvasQty.value + ' Canvas Macho Llorando Painting(s).  '} else {Macho_PaintingCanvas = ""}	


if (document.mainform.MachoPaperQty.value != 0) {Macho_PaintingPaper = document.mainform.MachoPaperQty.value + ' Paper Macho Llorando Painting(s).  '} else {Macho_PaintingPaper = ""}


document.mainform.ssl_description.value = MedQty + LargeQty + XLargeQty + Julian_PaintingCanvas + Julian_PaintingPaper + Castro_PaintingCanvas + Castro_PaintingPaper + Fiji_PaintingCanvas + Fiji_PaintingPaper + Bisou_PaintingCanvas + Bisou_PaintingPaper + Macho_PaintingCanvas + Macho_PaintingPaper + "";



if (document.mainform.ssl_description.value == "") {document.mainform.ssl_description.value = "No Products Selected."};


document.mainform.ssl_exp_date.value = document.mainform.expmonth.value + document.mainform.expyear.value;

}




function Insert_LE_Video(){
  document.writeln('	<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320"> ');
  document.writeln('	<param name="src" value="video/Live-earth.mov">');
  document.writeln('	<param name="autoplay" value="true">');
  document.writeln('	<param name="type" value="video/quicktime" height="256" width="320">');
  document.writeln('	<embed src="video/Live-earth.mov" height="256" width="320" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/">');
  document.writeln('	</object>');
}
