
function setHeight(){
//functions sets footer to always be at the bottom
$(document).ready(function() {
var fheight = 85;
//alert($("html").height());
//alert($("#thesite").height());

	if($("html").height() > $("#thesite").height()){
		$("#shadow").height($("html").height()-fheight);
	}
	
	if($("#shadow").height() < (750-fheight)){
		$("#shadow").height(750-fheight);
	}

});
}



$(document).ready(function() {
////applying png fix for ie 6
$("#shadowleft").hide();
$("#shadowright").hide();
$("#shadowleft").css({background: "url(images/shadow_left2.png)", backgroundRepeat: "no-repeat" });
$("#shadowright").css({background: "url(images/shadow_right2.png)", backgroundRepeat: "no-repeat" });
$('#shadowleft, #shadowright, #pagetitle, #login, #signup').pngfix().pngunfix().pngfix();


$("#shadowleft").show();
$("#shadowright").show();



//embed flash
 $('#logo').flash(
       { src: 'flash/logo.swf',
        width: 350,
        height: 174,
		wmode: 'transparent' },
       { version: 8 }
   );
 
 
   $('#navbar').flash(
       { src: 'flash/navbar.swf',
        width: 787,
        height: 51,
		wmode: 'transparent' },
       { version: 8 }
   );
 
// 
//
//  
});


function sendFriendForm(){
jQuery(document).ready(function() {
$('#sendfriend').html('<table><tr><td>Email Address:</td><td><input type=\"text\" name=\"email\" /></td></tr><tr><td>&nbsp;</td><td><input onclick=\"sendToFriend();\" type=\"button\" name=\"send\" value=\"Send\"/></td></tr></table>')

});
}	

function sendToFriend(){
jQuery(document).ready(function() {
//alert();
if($("input[@name=email]").val() != ""){
$('#sendfriend').html('Picture Has Been Sent');
}
});
}	

