//configure path for left and right arrows
var goleftimage='../images/arrow_left.gif';
var gorightimage='../images/arrow_right.gif';
//configure menu width (in px):
var menuwidth=575;
//configure menu height (in px):
var menuheight=160;
//Specify scroll buttons directions ("normal" or "reverse"):
var scrolldir="normal";
//configure scroll speed (1-10), where larger is faster
var scrollspeed=8;
//specify menu content
var bookmark = 1;
var bmk = top.location.href;
var i = bmk.indexOf('#');
var x = bmk.substring(i+1);

if (x*1 >= 1) {
bookmark = x;
}

var menucontents='<nobr>';

if (bookmark == 1){
menucontents = menucontents + '<a href="#1" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship01_on.gif" width="80" height="160" name="v1" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#1" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship01.gif" width="80" height="160" name="v1" border="0" /></a>';
}

if (bookmark == 2){
menucontents = menucontents + '<a href="#2" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship02_on.gif" width="80" height="160" name="v2" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#2" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship02.gif" width="80" height="160" name="v2" border="0" /></a>';
}

if (bookmark == 3){
menucontents = menucontents + '<a href="#3" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship03_on.gif" width="80" height="160" name="v3" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#3" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship03.gif" width="80" height="160" name="v3" border="0" /></a>';
}

if (bookmark == 4){
menucontents = menucontents + '<a href="#4" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship04_on.gif" width="80" height="160" name="v4" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#4" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship04.gif" width="80" height="160" name="v4" border="0" /></a>';
}

if (bookmark == 5){
menucontents = menucontents + '<a href="#5" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship05_on.gif" width="80" height="160" name="v5" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#5" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship05.gif" width="80" height="160" name="v5" border="0" /></a>';
}

if (bookmark == 6){
menucontents = menucontents + '<a href="#6" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship06_on.gif" width="80" height="160" name="v6" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#6" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship06.gif" width="80" height="160" name="v6" border="0" /></a>';
}

if (bookmark == 7){
menucontents = menucontents + '<a href="#7" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship07_on.gif" width="80" height="160" name="v7" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#7" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship07.gif" width="80" height="160" name="v7" border="0" /></a>';
}

if (bookmark == 8){
menucontents = menucontents + '<a href="#8" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship08_on.gif" width="80" height="160" name="v8" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#8" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship08.gif" width="80" height="160" name="v8" border="0" /></a>';
}

if (bookmark == 9){
menucontents = menucontents + '<a href="#9" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship09_on.gif" width="80" height="160" name="v9" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#9" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship09.gif" width="80" height="160" name="v9" border="0" /></a>';
}

if (bookmark == 10){
menucontents = menucontents + '<a href="#10" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship10_on.gif" width="100" height="160" name="v10" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#10" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship10.gif" width="100" height="160" name="v10" border="0" /></a>';
}


if (bookmark == 11){
menucontents = menucontents + '<a href="#11" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship11_on.gif" width="100" height="160" name="v11" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#11" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship11.gif" width="100" height="160" name="v11" border="0" /></a>';
}

if (bookmark == 12){
menucontents = menucontents + '<a href="#12" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship12_on.gif" width="100" height="160" name="v12" border="0" /></a>';
}
else{
menucontents = menucontents + '<a href="#12" onclick="location.reload(true);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship12.gif" width="100" height="160" name="v12" border="0" /></a>';
}

menucontents = menucontents + '</nobr>';


//var menucontents='<nobr><a href="#1" onclick="toggle(1);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship01.gif" width="80" height="160" name="v1" border="0" /></a><a href="#2" onclick="toggle(2);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship02.gif" width="80" height="160" border="0" /></a><a href="#3" onclick="toggle(3);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship03.gif" width="80" height="160" border="0" /></a><a href="#4" onclick="toggle(4);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship04.gif" width="80" height="160" border="0" /></a><a href="#5" onclick="toggle(5);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship05.gif" width="80" height="160" border="0" /></a><a href="#6" onclick="toggle(6);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship06.gif" width="80" height="160" border="0" /></a><a href="#7" onclick="toggle(7);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship07.gif" width="80" height="160" border="0" /></a><a href="#8" onclick="toggle(8);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship08.gif" width="80" height="160" border="0" /></a><a href="#9" onclick="toggle(9);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship09.gif" width="80" height="160" border="0" /></a><a href="#10" onclick="toggle(10);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship10.gif" width="100" height="160" border="0" /></a><a href="#11" onclick="toggle(11);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship11.gif" width="100" height="160" border="0" /></a><a href="#12" onclick="toggle(12);" onfocus="this.blur();" class="listlink"><img src="../images/ms_vh_featured_ship12.gif" width="100" height="160" border="0" /></a></nobr>';
			
////NO NEED TO EDIT BELOW THIS LINE////////////

var iedom=document.all||document.getElementById
var rightdircode='onMouseover="moveleft()" onMouseout="moveleftout()"';
var leftdircode='onMouseover="moveright()" onMouseout="moverightout()"';
if (scrolldir=="reverse"){
var tempswap=leftdircode;
leftdircode=rightdircode;
rightdircode=tempswap;
}
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:500;left:50">'+menucontents+'</span>');
var actualwidth='';
var cross_scroll, ns_scroll;
var loadedyes=0;
function fillup(){
if (iedom){
cross_scroll=document.getElementById? document.getElementById("test2") : document.all.test2;
cross_scroll.innerHTML=menucontents;
actualwidth=document.all? cross_scroll.offsetWidth : document.getElementById("temp").offsetWidth;
}
else if (document.layers){
ns_scroll=document.ns_scrollmenu.document.ns_scrollmenu2;
ns_scroll.document.write(menucontents);
ns_scroll.document.close();
actualwidth=ns_scroll.document.width;
}
loadedyes=1;
}
window.onload=fillup;

function moveleft(){
//MM_swapImage('arrowR','','../images/arrow_right_on.gif',1);
if (loadedyes){
if (iedom&&parseInt(cross_scroll.style.left)>(menuwidth-actualwidth)){
cross_scroll.style.left=parseInt(cross_scroll.style.left)-scrollspeed+"px";
}
else if (document.layers&&ns_scroll.left>(menuwidth-actualwidth))
ns_scroll.left-=scrollspeed;
}
lefttime=setTimeout("moveleft()",50);
}

function moveleftout(){
clearTimeout(lefttime);
//MM_swapImage('arrowR','','../images/arrow_right.gif',1);
}


function moverightout(){
clearTimeout(righttime);
//MM_swapImage('arrowL','','../images/arrow_left.gif',1);
}

function moveright(){
//MM_swapImage('arrowL','','../images/arrow_left_on.gif',1);
if (loadedyes){
if (iedom&&parseInt(cross_scroll.style.left)<0)
cross_scroll.style.left=parseInt(cross_scroll.style.left)+scrollspeed+"px";
else if (document.layers&&ns_scroll.left<0)
ns_scroll.left+=scrollspeed;
}
righttime=setTimeout("moveright()",50);
}


