$(document).ready(function() {
 $(".new_home_cell_qv").hover(
      function () {
		$(this).parent().css("z-index","4000").addClass("thisqv");
		$(".thisqv .quick_view_").css("z-index","5000").show();
 }, 
      function () {
	$(".thisqv .quick_view_").css("z-index","10").hide();
	   $(this).parent().css("z-index","10").removeClass("thisqv");

      }    );
 $("table#h_item_list table tr" ).addClass("tr_list");
  $(".tr_list td.new_home_cell_td:last-child .quick_view_" ).addClass("quick_view_R")
	});
function correctURL(urlParam){
	var urlRet;
	if(urlParam.length==0){
		 return urlParam;
	}
	if(urlParam.substring(0,1)!="/"){
		urlRet = "/" + urlParam;
	}
	urlRet = urlParam.replace(/ /g,"-");
	return urlRet;
}
function getLink(urlField){
	var url, popUpName;
	url = correctURL(urlField);
	window.open(url,"",'height=600,width=1024');
}
if("<%=getCurrentAttribute('item', 'custitemframehyper')%>"==""){
	document.getElementById("li_details").style.display="none";
}