var ct					= new Date();
var ThisYear			= ct.getYear();
var FirstCopyrightYear	= "2007";
var ThisDomain			= "otticoroggero.com";
var CompanyClaim		= "Ottico Roggero";


// This will update status bar copyright accordingly to current year and the first copyright year
	if (ThisYear > FirstCopyrightYear) {
		defaultStatus="© "+FirstCopyrightYear+"-"+ThisYear+" "+CompanyClaim;
	} else {
		defaultStatus="© "+ThisYear+" "+CompanyClaim;
	}


// Allow both Microsoft IE and FireFox users to bookmark this website
function BookmarkMe()
{
    if (document.all) {
        window.external.AddFavorite("http://www."+ThisDomain+"/it/",CompanyClaim);
    } else if (window.sidebar) {
        window.sidebar.addPanel(CompanyClaim,"http://www."+ThisDomain+"/it/","");
    }
}

// Brake external frames 	
if (top.frames.length != 0) {
	top.location = self.document.location;
}