function bookmark() {
 url='http://www.autospot.ro';
 title='Site-ul revistei gratuite AutoSPOT';

 if (document.all) window.external.AddFavorite(url,title);
  else alert ('Apasa CTRL+D pentru a adauga acest site la Bookmarks');
}

function winopen (nm, fx, fy, mdl) {
 sw=screen.width-8; sh=screen.height-55;
 s='no';
 if (fx>sw) { x=0; s='yes'; fx=sw; } else x=Math.round((sw-fx)/2);
 if (fy>sh) { y=0; s='yes'; fy=sh; } else y=Math.round((sh-fy)/2);
 abc=window.open('/_popup.php?mdl='+mdl+'&nm='+nm,'ViewPic','top='+y+',left='+x+',width='+fx+',height='+fy+',scrollbars='+s);
}

window.onload=function () {
// if (self!=top)
//  top.location.replace(window.location.href);
}
