﻿//$(document).ready(function() {
//	$("#ix-nav li").hover(
//		function() { $("ul", this).fadeIn("fast"); }, 
//		function() { } 
//	);
//	$(".nav_stick").hover(
//		function () {$(this).children("A").attr("class","on");},
//		function () {$(this).children("A").attr("class","off");}
//	);
//	if (document.all) {
//		$("#ix-nav li").hoverClass("sfHover");
//	}
//});
//$.fn.hoverClass = function(c) {
//	return this.each(function(){
//		$(this).hover( 
//			function() { $(this).addClass(c);  },
//			function() { $(this).removeClass(c); }
//		);
//	});
//};
//function txtHover(id,className) {
//	document.getElementById(id).className=className;
//}

//function openPhotos(cid,i) {
//	window.open("photo.aspx?id="+cid+"&i="+i,"photo_win","height=700,width=840,resizable=0,scrollbars=0");
//}

// show email form light box
function openPhotos(cid,i) {
    var elem = document.getElementById('LyteboxTemp');
    elem.href = "photo.aspx?id=" + cid + "&i=" + i;
    elem.rel = "lyteframe";
    elem.rev = "width: 860px; height: 700px; scrolling: none;";
    elem.title = "";
    myLytebox.start(elem, false, true);
}
