function isSafari(){
return (navigator.userAgent.toLowerCase().indexOf("safari")!==-1);
}
