var proIconBox = {
		USB: "USB Plug & Play connection, no driver needed.",
		UDisk: "USB pen/flash drive data download.",
		mAH: "Built-in high capacity 1100mAH Lithium battery backup, ultra-long standby time up to 6 hours.",
		net: "Support TCP/IP network connectivity.",
		sear: "....",
		fing: "New generation fully sealed, waterproof and dustproof AFOS300 fingerprint sensor.",
		RFID: "Extra 125Khz EM RFID Proximity card Reader.",
		screen3: "3' widescreen High Definition TFT display.",
		screen35: "3.5' widescreen High Definition TFT display.",
		three: "Multiple identification: fingerprint, 125Khz EM RFID card and code password.",
		pact: "Various communication interface: TCP/IP network, USB pen/flash drive, RS232, optional WIFI and GPRS",
		control: "Extra advanced access control feature.",
		lumid: "Lumidigm multispectral fingerprint sensor.",
		design: "Extremely compact design.",
		lock: "Direct lock control.",
		control2: "Advanced access control: Wiegand in/out, time zone, door sensor, tamper alarm.",
		latch: "single latch.",
		handle: "Reversible handle.",
		strong: "Strong zinc alloy front panel."
};
$(function(){
	$("ul.proIconBox li").append('<a href="javascript:void(0);"></a><span style="display:none;"><b></b><font></font></span>');
	$("ul.proIconBox li a").hover(function(){
		$("span",$(this).parent()).fadeIn();
	},function(){
		$("span",$(this).parent()).fadeOut();
	});
	$("ul.proIconBox li").each(function(index){
		if($(this).attr("title") != undefined && $(this).attr("title") != ''){
			var title = $(this).attr("title");
			$(this).removeAttr("title");
		}
		else{
			var title = eval("proIconBox."+$(this).attr("class"));
		}
			
		$("span font",$(this)).html(title);
	});
	
	//×ó²àÔÚÏßÁÄÌì
//	$(".liveChatBox").hover(function(){
//			$(this).stop(true).animate({left:0},800);
//			return false;
//	},function(){
//		$(this).stop(true).animate({left:-162},800);
//		return false;
//	});
	if($.cookie('chatBox')=="true"){
		$(".chatBoxOFF").hide();
		$(".chatBoxON").show();
	}
	else{
		$(".chatBoxOFF").show();
		$(".chatBoxON").hide();
	}
	$(".chatBoxON a.closeBtn").click(function(){
		$.cookie('chatBox',"false");
		$(".chatBoxON").fadeOut(100,function(){
			$(".chatBoxOFF").fadeIn();
		});
		return false;
	});
	$(".chatBoxOFF a").click(function(){
		$.cookie('chatBox',"true");
		$(".chatBoxOFF").fadeOut(100,function(){
			$(".chatBoxON").fadeIn();
		});
		return false;
	});
});

