function checkform(form) 
{		
	//Check to see if field is a valid email address.
	if (form.sender_name.value == "") {
		alert( "Please enter your name." );
		form.sender_name.focus();
		return false;
	}
	
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(form.sender_email.value))) {
		alert("Invalid eMail Address! Please re-enter your eMail address.");
		return false;
	}
	
	if (form.receive_name.value == "") {
		alert( "Please enter the recipient's name." );
		form.receive_name.focus();
		return false ;
	}
	
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(form.receive_email.value))) {
		alert("Invalid eMail Address! Please re-enter the recipient's eMail address.");
		return false;
	}
	
	if (form.message.value == "") {
		alert( "Please enter a message" );
		form.message.focus();
		return false;
	}			

	return true;	
}			

function setDescr() {
	document.cookie = "name=takeme;"
}

// This defines what to do when an image is clicked on 
function image_click(clicks)
{
	if (clicks == 0)  document.images['large'].src = image0.src;	
	if (clicks == 1)  document.images['large'].src = image1.src;
	if (clicks == 2)  document.images['large'].src = image2.src;
	if (clicks == 3)  document.images['large'].src = image3.src;
	if (clicks == 4)  document.images['large'].src = image4.src;
	if (clicks == 5)  document.images['large'].src = image5.src;
	if (clicks == 6)  document.images['large'].src = image6.src;
	if (clicks == 7)  document.images['large'].src = image7.src;
	if (clicks == 8)  document.images['large'].src = image8.src;
	if (clicks == 9)  document.images['large'].src = image9.src;
	if (clicks == 10) document.images['large'].src = image10.src;
	if (clicks == 11) document.images['large'].src = image11.src;
	if (clicks == 12) document.images['large'].src = image12.src;
	if (clicks == 13) document.images['large'].src = image13.src;
	if (clicks == 14) document.images['large'].src = image14.src;
	if (clicks == 15) document.images['large'].src = image15.src;
	if (clicks == 16) document.images['large'].src = image16.src;
	if (clicks == 17) document.images['large'].src = image17.src;
	if (clicks == 18) document.images['large'].src = image18.src;
}

function setCookie(name, value) {
	var exp = new Date();
	exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24 * 30));
	document.cookie = name + "=" + escape(value) + "; path=/ ; expires=" + exp.toGMTString();
}

function setDesc(txt) {
	var my_var = (txt)
	document.cookie = "imgCopy=" + my_var;
}

var sd01 = 'With aspirations of five-star "to dine for" restaurant status, Altitude offers an unregimented, non-stuffy upscale casual dining experience where diners feel not only welcome but actually at home in comfortable surroundings. And where the food speaks for itself, an intelligent selection of wines finds its own voice.';

var sd02 = 'Lounge guests at Altitude feel as comfortable and welcome here as in the dining room, where warm colors envelope and residential furnishings abound.';

var sd03 = 'Those who thought they were interested in just a luscious libation at the Altitude lounge are in for a treat.';

var sd04 = 'Each menu item reflects meticulous attention to detail. Its flavor. Its texture. Its presentation.';

var sd05 = 'Altitude\'s menu items are prepared with great care, using the very best and freshest products and ingredients - many of which are locally and/or organically grown.';

var sd06 = 'Fresh grown local bounty served at Altitude begins on property at The Resort\'s very own herb garden.';

var sd07 = 'The food at Altitude is literally a fusion of tastes, flavors, preparations and presentations. ';

var sd08 = 'Prepared with the utmost care and creative thinking and utilizing progressive techniques with some of the very latest and state-of-the-art kitchen equipment.';

var sd09 = 'Even if you\'re not a "foodie," you\'ll agree Altitude has something special to offer.';

var sd10 = 'Techniques from classical to newly-coined "molecular gastronomy" are showcased.';

var sd11 = 'Caught right out of the Columbia River one day and served fresh the same day or next are steelhead, coho and sturgeon.';

var sd12 = 'Altitude menus feature cuisines and cuisine types from all over the world. No cuisine dominates; diners will revel in culinary inspirations from the Pacific Northwest, Asia, Pan-Asia, South and Midwest';

var sd13 = 'Transforming the consistency, appearance and even the flavors of otherwise ordinary food items into literal food explosions is a lot of what Altitude is all about.';

var sd14 = 'The cows who ultimately become Altitude\'s country-natural beef graze on land in nearby Sisters, OR.';

var sd15 = 'Altitude\'s free range chicken features gunpowder green tea, marinated spinach spatzle, baby carrots, longbeans, dried huckleberries, and a parmesan pecan tuile.';

var sd16 = 'The Cascade Huckleberry Lemon Shortcake at Altitude features lemon-lime oil pound cake, fresh lemon curd, huckleberry compote, and chantilly cr&#232;me. Yum. ';

var sd17 = 'Altitude named this dessert The Black Forest. It\'s milk chocolate panna cotta on a sponge cake with black Muscat-soaked cherries, chantilly cr&#232;me, and toasted almond Florentine. Goodness!';

var sd18 = "Executive Chef Paul Bosch remains true to basic culinary principles yet pursues out-of-the-box techniques, presentations and flavor sensations. He and his culinary team are especially passionate about and take great pride in the restaurant's extensive use of local Oregonian bounty."

function showDesc_01() {
	document.getElementById('iCopy').innerHTML = sd01;
}

function showDesc_02() {
	document.getElementById('iCopy').innerHTML = sd02;
}

function showDesc_03() {
	document.getElementById('iCopy').innerHTML = sd03;
}

function showDesc_04() {
	document.getElementById('iCopy').innerHTML = sd04;
}

function showDesc_05() {
	document.getElementById('iCopy').innerHTML = sd05;
}

function showDesc_06() {
	document.getElementById('iCopy').innerHTML = sd06;
}

function showDesc_07() {
	document.getElementById('iCopy').innerHTML = sd07;
}

function showDesc_08() {
	document.getElementById('iCopy').innerHTML = sd08;
}

function showDesc_09() {
	document.getElementById('iCopy').innerHTML = sd09;
}

function showDesc_10() {
	document.getElementById('iCopy').innerHTML = sd10;
}

function showDesc_11() {
	document.getElementById('iCopy').innerHTML = sd11;
}

function showDesc_12() {
	document.getElementById('iCopy').innerHTML = sd12;
}

function showDesc_13() {
	document.getElementById('iCopy').innerHTML = sd13;
}

function showDesc_14() {
	document.getElementById('iCopy').innerHTML = sd14;
}

function showDesc_15() {
	document.getElementById('iCopy').innerHTML = sd15;
}

function showDesc_16() {
	document.getElementById('iCopy').innerHTML = sd16;
}

function showDesc_17() {
	document.getElementById('iCopy').innerHTML = sd17;
}

function showDesc_18() {
	document.getElementById('iCopy').innerHTML = sd18;
}

function showDesc_19() {
	document.getElementById('iCopy').innerHTML = sd19;
}


