
//script for bring in banner flash movies
function InsertFlashMovie1()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/home.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/home.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovie2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/home2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/home2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}

function InsertFlashMovieIkon()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/ikon.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/ikon.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieIkon2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/ikon2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/ikon2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieMiniIkon()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/mini-ikon.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/mini-ikon.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieMiniIkon2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/mini-ikon2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/mini-ikon2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}



function InsertFlashMovieRoto()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/roto.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/roto.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieRoto2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/roto2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/roto2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieUltima()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/ultima.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/ultima.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieUltima2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/ultima2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/ultima2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieBarrel()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/barrel.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/barrel.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieBarrel2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/barrel2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/barrel2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}




function InsertFlashMovieWineCradel()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="375px">');
  document.write('<param name="movie" value="flash/wine-carosel.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/wine-carosel.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="375px"></embed>\n');
document.write('</object>\n');
}


function InsertFlashMovieWineCradel2()
{
  document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="280px" height="182px">');
  document.write('<param name="movie" value="flash/wine-carosel2.swf">');
   document.write('<param name=quality value=high>');
 document.write('<embed src="flash/wine-carosel2.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="280px" height="182px"></embed>\n');
document.write('</object>\n');
}



function Start2(page) {OpenWin = this.open(page, "menu", "height=560,width=387,"+
"directories=no,location=no,menubar=no," +
"resizable,status=no,toolbar=no,history=no,scrollbars=yes");}

function Start3(page) {OpenWin = this.open(page, "menu", "height=420,width=557,"+
"directories=no,location=no,menubar=no," +
"resizable,status=no,toolbar=no,history=no,scrollbars=yes");}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}



function checkform()
{
	if (document.contact.gotcha.value == '') {
	return true;
}
	return false;
}
