
var FULL_VIRTUAL_DIRC = "http://" + window.document.domain + "/MazInternet/"


function OpenNewsDetails(intMsgCode)
{
	
	var strLocation= FULL_VIRTUAL_DIRC + "DriversInfo/Pages/frmDoverMsgDetails.aspx?ContentCode="+intMsgCode

	top.location = FULL_VIRTUAL_DIRC + "General/Pages/frmInnerPage.aspx?strLocation="+encodeURIComponent(strLocation)																			  		
																			  +"&PageID=0";
}																			  

function hold(){
	scroller.scrollAmount = 0
}

function ContinueScroll(){
	scroller.scrollAmount = 4
	
}

function vhold()
{
	vScroller.scrollAmount = 0
}

function vContinueScroll()
{
	vScroller.scrollAmount = 3
}

function OpenAttchFile()
{
	var FilePath = document.all.txtbAttachment.value
	var Path = "http://" + window.document.domain + "/MazInternet/documents/" + FilePath
	window.open(Path)
}

function CheckFile()
{
	if(document.all.txtbAttachment.value!="")
	{
		document.all.FileAttcDiv.style.display = "block"	
	}else
	{
		document.all.FileAttcDiv.style.display = "none"	
	}
}