/*--------------------------------------------------------------------------*
 * 
 * Copyright (C) 2008 Brand Labs LLC
 * 
 * General cookie manipulation methods
 * 
 * Version 1.0.0
 * 
 *--------------------------------------------------------------------------*/
function doesCookieExist(aa){var ba=null;ba=getCookieValue(aa);if(ba==null){return false;}
return true;}
function getCookieValue(ca){var da=null;var ea=null;var fa=null;var ga;if(!document.cookie||document.cookie==null){return null;}
da=document.cookie.split(';');for(ga=0;ga<da.length;ga++){ea=da[ga];while(ea.charAt(0)==' '){ea=ea.substring(1,ea.length);}
if(ea.indexOf(ca+'=')==0){fa=ea.substring(ca.length+1);if(fa==null||fa==''){return '';}
else{return fa;}}}
return null;}
function addCookie(ha,ia){document.cookie=escape(ha)+'='+escape(ia)+'; path=/';}
function deleteCookie(ja){document.cookie=escape(ja)+'=; expires=-1; path=/';}
