
var screenshot = new Array();
screenshot[0] = ["alternative_quest_log_01.jpg",345,461];
screenshot[1] = ["reputation_percentage.jpg",346,434];
screenshot[2] = ["player_link_menu_01.jpg",120,162];
screenshot[3] = ["alternative_quest_log_02.jpg",286,224];
screenshot[4] = ["screenshot_key_binding.jpg",325,218];
screenshot[5] = ["viper_config_control.jpg",325,391];
screenshot[6] = ["popup_blocker.jpg",375,337];
screenshot[7] = ["honor_kill_count_01.jpg",1024,105];
screenshot[8] = ["honor_kill_count_02.jpg",357,488];
screenshot[9] = ["intuitive_attack_target.jpg",176,176];
screenshot[10] = ["player_link_menu_02.jpg",465,485];
screenshot[11] = ["smct_01.jpg",525,562];
screenshot[12] = ["smct_02.jpg",472,232];

function viewscreenshot(n) {
  screenshotWindow = window.open("about:blank","_blank","toolbar=0,resizable=0,directories=0,status=0,menubar=0,scrollbars=0,location=0,width="+screenshot[n][1]+",height="+screenshot[n][2]);
  populateWindow(n);
}

function populateWindow(n) {
  if (screenshotWindow && screenshotWindow.open) {
    var str = new String("");
    str += "<html>\n";
    str += "<head>\n";
    str += "  <title>Viewing screenshot</title>\n";
    str += "</head>\n";
    str += "<body style=\"margin:0px; background-color:#EFEFEF;\">\n";
    str += "<div style=\"position:absolute; width:"+screenshot[n][1]+"px; height:"+screenshot[n][2]+"px; overflow:hidden; margin:0px;\"><a href=\"javascript:this.close();\" hidefocus=\"true\"><img src=\"images/screens/"+screenshot[n][0]+"\" width=\""+screenshot[n][1]+"\" height=\""+screenshot[n][2]+"\" border=\"0\" alt=\"Close window\" /></a></div>";
    str += "</body>\n";
    str += "</html>\n";
    var doc = screenshotWindow.document.open("text/html", "replace");
    doc.write(str);
    doc.close();
    screenshotWindow.focus();
  } else {
    setTimeout("populateWindow("+n+");",250);
  }
}


var host = new String(document.location.hostname);
if (host.substr(0,4).indexOf("www.") > -1) host = host.replace(/www./i,"@");
else host = "@" + host;
var prot = "ixr";

function sendmail() {
  var email = host.substr(1,5);
  document.location.href = "ma" + prot.replace(/xr/,"lto") + ":" + email + host;
}

