//Updated 2011-08-15
//Navigator Description and link (40-50 words)
var desc1 = "The Navigator is a self-contained, navigation and underwater sonar imaging system that provides the diver with target location, navigation and situational awareness. Typical applications include search and recovery (SAR), mine countermeasures (MCM), crime scene investigation, ship hull inspections, archaeology and more."
var link1 = "...(Read More)"
//ROV Description and link (40-50 words)
var desc2 = "Shark Marine designs very modular and versatile ROV platforms that are used world wide for scientific research, inspections, light work and military applications. Modular construction allows Shark Marine to build custom solutions, without the custom costs."
var link2 = "..(Read More)"
//SEA SWATHplus Description and Link (40-50 words)
var desc3 = "SWATHplus is a wide swath interferrometric sonar system. It acquires high density bathymetry and sidescan data. It is equally well suited for use at sea, and for inland waterways and lakes. SWATHplus surveys to water depths of 350 metres. It is particularly efficient in shallow water, and is low-cost, compared with similar sonar systems."
var link3 = "..(Read More)"
//Camera Systems Description and Link (40-50 words)
var desc4 = "Shark Marine was among the first to manufacture live video systems specifically designed for diver use. Shark Marine continues to develop new systems ranging from, extreme low light, IR, high resolution colour, colour zoom, high definition (HD) and stereoscopic (3D) system."
var link4 = "..(Read More)"
//Cable Reels Description and Link (40-50 words)
var desc5 = "Shark Marine manufactures cable reels for various applications including towed sonar, drop video systems and ROVs. Standard or custom manual wind, electric or hydraulic reels are available."
var link5 = "..(Read More)"
var PosFeatProd1 = 0;
var NUM_POSITIONS = 5;
function SwapFeatProdLeft(over)
{
if (over)
{
document.images.imgFeatProdLeft.src="images_new/home_feat/home_feat_left_over.gif"
}
else
{
document.images.imgFeatProdLeft.src="images_new/home_feat/home_feat_left_notover.gif"
}
}
function SwapFeatProdRight(over)
{
if (over)
{
document.images.imgFeatProdRight.src="images_new/home_feat/home_feat_right_over.gif"
}
else
{
document.images.imgFeatProdRight.src="images_new/home_feat/home_feat_right_notover.gif"
}
}
function RotateFeatProdsLeft()
{
PosFeatProd1 = PosFeatProd1 + 1;
if (PosFeatProd1 >= NUM_POSITIONS)
{
PosFeatProd1 = 0; //roll over positon back to position 0
}
//alert(PosFeatProd1); //debug
RepositionImages();
}
function RotateFeatProdsRight()
{
PosFeatProd1 = PosFeatProd1 - 1;
if (PosFeatProd1 < 0)
{
PosFeatProd1 = NUM_POSITIONS - 1; //roll over positon to highest position
}
//alert(PosFeatProd1); //debug
RepositionImages();
}
function RepositionImages()
{
if (PosFeatProd1 == 0)
{
SetPosition0();
}
else if (PosFeatProd1 == 1)
{
SetPosition1();
}
else if (PosFeatProd1 == 2)
{
SetPosition2()
}
else if (PosFeatProd1 == 3)
{
SetPosition3();
}
else if (PosFeatProd1 == 4)
{
SetPosition4();
}
else
{
SetPosition0(); //error, reset to initial positions
}
}
function SetPosition0()
{
//alert("FUNCTION: SetPosition0()"); //debug
document.images.imgFront.src = "images_new/home_feat/home_feat_1_front.gif"
document.images.imgMidLeft.src = "images_new/home_feat/home_feat_2_mid.gif"
document.images.imgBackLeft.src = "images_new/home_feat/home_feat_3_back.gif"
document.images.imgBackRight.src = "images_new/home_feat/home_feat_4_back.gif"
document.images.imgMidRight.src = "images_new/home_feat/home_feat_5_mid.gif"
document.images.imgFeatLogo.src = "images_new/home_feat/home_feat_1_logo.jpg"
document.getElementById("divFeatProdText").innerHTML = desc1 + link1 ;
}
function SetPosition1()
{
//alert("FUNCTION: SetPosition1()"); //debug
document.images.imgFront.src = "images_new/home_feat/home_feat_5_front.gif"
document.images.imgMidLeft.src = "images_new/home_feat/home_feat_1_mid.gif"
document.images.imgBackLeft.src = "images_new/home_feat/home_feat_2_back.gif"
document.images.imgBackRight.src = "images_new/home_feat/home_feat_3_back.gif"
document.images.imgMidRight.src = "images_new/home_feat/home_feat_4_mid.gif"
document.images.imgFeatLogo.src = "images_new/home_feat/home_feat_5_logo.jpg"
document.getElementById("divFeatProdText").innerHTML = desc5 + link5 ;
}
function SetPosition2()
{
//alert("FUNCTION: SetPosition2()"); //debug
document.images.imgFront.src = "images_new/home_feat/home_feat_4_front.gif"
document.images.imgMidLeft.src = "images_new/home_feat/home_feat_5_mid.gif"
document.images.imgBackLeft.src = "images_new/home_feat/home_feat_1_back.gif"
document.images.imgBackRight.src = "images_new/home_feat/home_feat_2_back.gif"
document.images.imgMidRight.src = "images_new/home_feat/home_feat_3_mid.gif"
document.images.imgFeatLogo.src = "images_new/home_feat/home_feat_4_logo.jpg"
document.getElementById("divFeatProdText").innerHTML = desc4 + link4 ;
}
function SetPosition3()
{
//alert("FUNCTION: SetPosition3()"); //debug
document.images.imgFront.src = "images_new/home_feat/home_feat_3_front.gif"
document.images.imgMidLeft.src = "images_new/home_feat/home_feat_4_mid.gif"
document.images.imgBackLeft.src = "images_new/home_feat/home_feat_5_back.gif"
document.images.imgBackRight.src = "images_new/home_feat/home_feat_1_back.gif"
document.images.imgMidRight.src = "images_new/home_feat/home_feat_2_mid.gif"
document.images.imgFeatLogo.src = "images_new/home_feat/home_feat_3_logo.jpg"
document.getElementById("divFeatProdText").innerHTML = desc3 + link3 ;
}
function SetPosition4()
{
//alert("FUNCTION: SetPosition4()"); //debug
document.images.imgFront.src = "images_new/home_feat/home_feat_2_front.gif"
document.images.imgMidLeft.src = "images_new/home_feat/home_feat_3_mid.gif"
document.images.imgBackLeft.src = "images_new/home_feat/home_feat_4_back.gif"
document.images.imgBackRight.src = "images_new/home_feat/home_feat_5_back.gif"
document.images.imgMidRight.src = "images_new/home_feat/home_feat_1_mid.gif"
document.images.imgFeatLogo.src = "images_new/home_feat/home_feat_2_logo.jpg"
document.getElementById("divFeatProdText").innerHTML = desc2 + link2 ;
}