My script works an all browsers i've tested it on (firefox, internet explorer, opera) EXCEPT Safari!
var exdate=new Date()
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : ";expires="+exdate.toGMTString())}
Does anyone know how to overcome this? Any suggestions are welcome!