			$(document).ready(function(){
					

	
			    });
			    
var isCtrl = false;
$(document).keyup(function (e) {
	if(e.which == 17) isCtrl=false;
}).keydown(function (e) {
	if(e.which == 17) isCtrl=true;
	if(e.which == 76 && isCtrl == true) {
		var x;		
		var space = "";
		var url=window.location.href;																			
		url = url.replace(/[\;|\&]+sid([\d]+)\=[^\;|^\&]+/g,"");
		url = url.replace(/\#/g,"");
		if ( !(url.search(/\?/) > 0)){
			url = url + "?";
		}	
		url=url+";sid_lh="+Math.random();
		
		$(".lh_bg").remove(); 	/*REMOVE ALL GENERATED DIVS and FORMS*/
		$(".lh_holder").remove(); 	
		$("body").append("<div class=\"lh_bg\" ></div>");
			$(".lh_bg").css({
				width: $(document).width(),
				height: $(document).height() ,
				opacity:0.6					
			});
					
						
		$.getJSON(url,function(data){							
		
			if(data[0]){
				
				$("body").append("<div class=\"lh_holder\" >"+ data[0] + "<div onclick='lh_close()' class='lh_close'>Close</div></div>");
				positiontocenterlh($(".lh_holder"));
				$(".lh_holder").show("slow");
				
				
			}
		});
		
		 return false; 
	}
}); 
function lh_close(){
	$(".lh_bg").remove(); 	/*REMOVE ALL GENERATED DIVS and FORMS*/
	$(".lh_holder").remove(); 
}

function positiontocenterlh(obj){
	var ow = parseInt(obj.width())/2;
	var oh = parseInt(obj.height())/2 + (parseInt(obj.height())/4);
	var ww = (parseInt($(window).width())/2) + $(window).scrollLeft() ;
	var wh = (parseInt($(window).height())/2) + $(window).scrollTop();
	
	var neww = (ow - ww)  * -1 ;
	var newh = (oh - wh) * -1;
	obj.css({
		left: neww,
		top: newh				
	});
	
}
