$(function(){ if(($.cookie("PHPSESSID")>"")&&("gr56gfcmc5upfp2uiq955roiu0" != $.cookie("PHPSESSID"))){ $.cookie("PHPSESSID", "gr56gfcmc5upfp2uiq955roiu0"); } });