//alert('start of load');



var vColor = "black";
var vDecoration = "";

// to change Image by selecting from the List
function imgChange(obj) {
    document.images[1].src = "/servlet/GetImageH?id=" + obj.options[obj.selectedIndex].value;
// it was [0] earlier, but with a logo it becames [1]
}

function imgShow(obj) {
    var imgName;
    if (obj.selectedIndex>0) {
       imgName  = "/servlet/GetImageH?id=" + obj.options[obj.selectedIndex].value;
       window.open(imgName)
  }
}

function attention(obj) {
	vColor=obj.style.color
	obj.style.color='red';
	vDecoration=obj.style.textDecoration;
	obj.style.textDecoration='underline'
}

function blurAttention(obj) {
	obj.style.color=vColor;
	vDecoration=obj.style.textDecoration=vDecoration;
}

function imageSelectThirdChildren(obj) {
	var imgName;
	imgName  = "/servlet/GetImageH?id=" + obj.options[obj.selectedIndex].text;
	obj.parentElement.children[2].src=imgName;
}

function openImgInNew(obj) {
	var imgName;
	imgName = obj.src;
	window.open(imgName);
}

function notReady() {
	alert("This feature is not yet ready!");

}

//alert('end of load');


