<!--

function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



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_swapImage() { //v3.0

	var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;

	for(i=0;i<(a.length-2);i+=3){if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;

	if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}

}




function showLayer(layerName){

	if (document.getElementById){

		var targetElement = document.getElementById(layerName);

		targetElement.style.visibility = 'visible';

		targetElement.style.height = 'auto';

	}

}



function hideLayer(layerName){

	if (document.getElementById) {

		var targetElement = document.getElementById(layerName);

		targetElement.style.visibility = 'hidden';

		targetElement.style.height = '0px';

	}

}



// POPUP MENU

function show(id) {

	document.getElementById(id).style.visibility = "visible";

	for(var i=1; i<8; i++){

		layerID = "topnav_" + i;

		if(document.getElementById(layerID)){

			if(layerID != id && document.getElementById(layerID).style.visibility == "visible"){

				document.getElementById(layerID).style.visibility = "hidden";

			}

		}

	}

}

function hide(id) {

	for(var i=1; i<8; i++){

		layerID = "topnav_" + i;

		if(document.getElementById(layerID)){

			if(layerID != id && document.getElementById(layerID).style.visibility == "visible"){

				document.getElementById(layerID).style.visibility = "hidden";

			}

		}

	}

}



// HREF VIA JAVASCRIPT EVENT

function redirect(url) {

	window.location = url;

}



// new window popup used for opening up artwork and flash projects

function launchwin(uri,name,args)

{

	newwin = window.open(uri,name,args);

	newwin.focus();

}



// WEB BASED 'BACK' BUTTON

function go_back(){

	history.back();

}



// FOR USE IN CMS... CONFIRM ACTION BEFORE SUBMITTING TO db_update PAGE

function confirmSubmit(conf)

{

	var agree=confirm(conf);

	if (agree){

		return true ;

	} else {

		return false ;

	}

}



// SHOW MOVIE

function showMovie(m,l){

	var movieCode = '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="240"height="180" codebase="http://www.apple.com/qtactivex/qtplugin.cab">';

	movieCode += '<param name="SRC" value="uploads/files/' + m + '">';

	movieCode += '<param name="AUTOPLAY" value="true">';

	movieCode += '<param name="CONTROLLER" value="false">';

	movieCode += '<embed src="uploads/files/' + m + '" width="240" height="180" autoplay="true" controller="false" pluginspage="http://www.apple.com/quicktime/download/"></embed>';

	movieCode += '</object>';

	

	document.getElementById("movieArea").innerHTML = movieCode;

	

	for(i=1; i<10; i++){

		n = "sampleLink_" + i;

		if(document.getElementById(n)) document.getElementById(n).className = "listLinks";

	}

	

	n = "sampleLink_" + l;

	document.getElementById(n).className = "listLinks_sel";

}



// SHOW IMAGE

function showImage(l){

	document.getElementById("imageArea").src = "uploads/files/locations_" + l + ".jpg";

	

	for(i=1; i<10; i++){

		n = "sampleLink_" + i;

		if(document.getElementById(n)) document.getElementById(n).className = "listLinks";

	}

	

	n = "sampleLink_" + l;

	document.getElementById(n).className = "listLinks_sel";

}



var testimonials = new Array();

/* WEDDING QUOTES */

testimonials[0] = 'We hardly knew you were there! --Which means you got a lot of good, candid film!<div class="quoteBy">~ Michelle & Dean</div>';

testimonials[1] = 'Please extend my thanks to Dan for his help at our wedding. Not the easiest situation, and I appreciated his calm, kind approach. I should add that your video production received many compliments.<div class="quoteBy">~ Cheers, Mark P</div>';

testimonials[2] = 'Great Job! We\'re so glad we went with Hybrid Moon Video.<div class="quoteBy">~ Tom and Kelcie (12/99)</div>';

testimonials[3] = 'How important is your wedding video to you? -- What advice do you have for any engaged bride when it comes to selection someone to videotape the wedding? -- Spend the money. It\'s worth it. There is no other Keepsake and reminder as wonderful as this. Eric was so easy to work with. He was helpful before the wedding, unobtrusive at the wedding and, did an AWSOME job with our video.<div class="quoteBy">~ John and Michele (12/99)</div>';

testimonials[4] = 'They did an incredible job".<div class="quoteBy">~ Doug & Tiffany (11/99)</div>';

testimonials[5] = 'I loved Hybrid Moon\'s work when I saw the their demo and I knew I could count them after meeting with Eric -- Hybrid Moon is professional, organized, honest, and committed to their clients work. They are friendly, and pleasant to work with. They have a good knowledge of their equipment, up to date technology and know how to utilize their equipment and manpower efficiently. Go with Hybrid Moon! They are worth it!! They will make your "Special Day" live forever.<div class="quoteBy">~ Tim & Deanna (10/99)</div>';

testimonials[6] = 'Hybrid Moon was professional, reliable and most importantly, Hybrid Moon was comfortable to be around. They use equipment that allowed them to do really cool stuff with the footage. The staff at Hybrid Moon know what they\'re doing.<div class="quoteBy">~ Scott & Amy (8/99)</div>';

testimonials[7] = 'They were personable and relaxed. They were very willing to accommodate my requests. I hardly noticed they were there on my wedding day. I thought their husband and wife video team was ingenious, one to follow each of us! Our wedding video was so important that it was worth the expense. You cannot capture the movement and feel of the wedding in your formal pictures. Your video photographer will capture moments you missed or forgot. No matter how much planning you have done your wedding day will be a blur, it goes too fast. However your video will clearly hold your memories forever.<div class="quoteBy">~ Jon & Natasha (8/99)</div>';

testimonials[8] = 'Very easy and comfortable to work with behind the scenes during ceremony and reception. We wish that we had extended our hours to include more of our reception dance and band.<div class="quoteBy">~ Dean and Michelle (7/99)</div>';

testimonials[9] = 'Hybrid Moon videographer Eric Newland worked hard to make sure that we were involved with the entire layout and locations decided on, for our production. We were pleased that our video didn\'t have to fit into a set format that lacked our personal touch. What can I say, except that our video is proof of all that we put into planning and preparing for our big day It encompasses more than a wedding alone, it is a constant reminder of our relationship anew and all our family members<div class="quoteBy">~ Brian and Sabrina (7/99)</div>';

testimonials[10] = 'Hybrid Moon is an extremely professional business. Working with you two, was so pleasant. I appreciate the time you spent with us to make sure we were getting the product we desired. Smart brides at least go check out Hybrid Moon to see what they offer; smarter brides use Hybrid Moon! I\'ll probably watch it at least once a week for a year and then at least once a month forever after that. Thank you so much; we\'re so excited about our video. It\'s so wonderful to look back at our Special Day. Photos are wonderful, but video allows you to relive that day in a much more profound way.<div class="quoteBy">~ Andy and Ally (1/99)</div>';

testimonials[11] = 'The quality of film, nice people, easy to work with, the finished product is wonderful, the EDITING was amazing (special effects- but not overdoing it, showing the highlights with music in a movie-like format) willingness to stick with editing until I was completely satisfied.<div class="quoteBy">~ Daniel and Kristina (10/98)</div>';

testimonials[12] = 'Our wedding video was very important, because I missed most of the wedding. When I saw the video it was the first time I saw my whole wedding.<div class="quoteBy">~ Pedersen and Kiive (7/98)</div>';



/* BROADCAST QUOTES */

testimonials[13] = 'This is a placeholder Broadcast-specific quote.<div class="quoteBy">~ Jim Smith, Tully\'s Coffee (7/98)</div>';



/* LOCATION QUOTES */

testimonials[14] = 'Your DVD was by far the best honeymoon planning tool we have come across. Brochures, Web site images, virtual tours online... are worthless compared to the DVD. I am so much more confident now that we made the right decision for our honeymoon<div class="quoteBy">~ George Zephanis, New York, NY</div>';



/* CLIENT QUOTES */

testimonials[15] = 'This is a placeholder Client-specific quote.<div class="quoteBy">~ Sally Schmally, Starbucks Coffee (7/01)</div>';



// SHOW RANDOM TESTIMONIAL

function randomTestimonial(t){

	var ranNum = 0;

	if(t == 'weddings') ranNum = Math.round(Math.random()*13); // 0-12

	else if(t == 'broadcast') ranNum = 13; // 13 only

	else if(t == 'locations') ranNum = 14; // 14 only

	else if(t == 'clients') ranNum = 15; // 15 only

	else ranNum = Math.round(Math.random()*13); // all



	//document.getElementById("testimonial").innerHTML = testimonials[ranNum];

}



//-->




