// JavaScript Document

		iens6=document.getElementById
		ns6=document.getElementById
		ie=document.all
		ns4=document.layers
		
		function initscroller(url) {
			if (ns4) {
				document.nscontainer.document.nscontent.src=url;
			} else {
				document.getElementById("loaderiframe").src=url;
			}
			getcontent_height();
		}
				
		function movedown() {		
			if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+200))
				crossobj.style.top=parseInt(crossobj.style.top)-speed
			else if (ns4&&crossobj.top>=(contentheight*(-1)+200))
				crossobj.top-=speed
			movedownvar=setTimeout("movedown()",100)
		}
				
		function moveup() {
			if (iens6&&parseInt(crossobj.style.top)<0)
				crossobj.style.top=parseInt(crossobj.style.top)+speed
			else if (ns4&&crossobj.top<=0)
				crossobj.top+=speed
			moveupvar=setTimeout("moveup()",100)
		}
			
		function getcontent_height() {
			if (iens6) {
				contentheight=crossobj.offsetHeight
				crossobj.style.top=0;
			} else if (ns4) {
				contentheight=crossobj.clip.height
				crossobj.top=0;
				document.nscontainer.document.nscontent.visibility="show"
			}
		}

		function loadContent() {
			if (iens6) {
				html= document.all ? loaderiframe.document.body.innerHTML : document.getElementById("loaderiframe").contentDocument.body.innerHTML
				crossobj.innerHTML=html
			} else if (ns4) {
				//document.nscontainer.document.nscontent.top = 1000
			}
			getcontent_height()
		}
		
		function ClearForm() {
			document.ContactForm.reset();
		}
		
		function CheckForm() {
			if ((document.ContactForm.textName.value == "") || (document.ContactForm.textDesignation.value == "")
			|| (document.ContactForm.textCompany.value == "") || (document.ContactForm.textAddress.value == "")
			|| (document.ContactForm.textPhoneCountryCode.value == "") || (document.ContactForm.textPhoneAreaCode.value == "")
			|| (document.ContactForm.textPhoneNumber.value == "") || (document.ContactForm.textFaxCountryCode.value == "")
			|| (document.ContactForm.textFaxAreaCode.value == "") || (document.ContactForm.textFaxNumber.value == "")
			|| (document.ContactForm.textEmail.value == "") || (document.ContactForm.textComment.value == "")) {
				alert("Please ensure that all fields are not empty!");
				return false;
			} else {
				return true;
			}
		}
		
		function movetoposition(posx) {
			if (iens6)
				crossobj.style.top=posx
			else if (ns4)
				crossobj.top=pox
		}

var speed=12


