// JScript source code
strDownloadURL = "test.asp";
var searchFor = "";	
var noInput= "Please include a word or phrase in your search.";
var searchlocale = "";
var isV5 = false;
var isIE = false;
if (parseInt(navigator.appVersion) >= 5) isV5 = true;
if (navigator.appVersion.indexOf("MSIE") != -1) isIE = true;

function MouseOutMenu(Item) {
	if (isV5) {
		var MenuItem = document.getElementById(Item);
		MenuItem.setAttribute("style", "");
	}
	eval(Item + ".style.borderColor = '#E7E7E7';");	
}
function MouseOverMenu(Item) {
	if (isV5) {
		var MenuItem = document.getElementById(Item);
		MenuItem.setAttribute("style", "border-width:2px;border-style:solid;border-color:#000080;");
	}
	eval(Item + ".style.borderColor = '#000080';");
}
function confirmSubmit()
{
	var agree=confirm("Are you sure you want to continue?  Please note that these changes cannot be undone!");
	if (agree)
		return true ;
	else
	return false ;
}

function redirect(){
	window.open("get_order_all.asp")						
}

function openWin( windowURL, windowName, windowFeatures ) { 
	return window.open( windowURL, windowName, windowFeatures ) ; 
} 

function something()
{	
	var agree=confirm("Are you sure you want to continue?  Please note that these changes cannot be undone!");
	if (agree)
		return true ;
	else
	return false ;
}

function newWindow(file,window) {
	msgWindow=open(file,window,'resizable=no,width=400,height=200');
	if (msgWindow.opener == null) msgWindow.opener = self;
}

function downloadToOnlineStorage(strProvider)
{
if(strProvider == "xdrive")
{
	var strXDriveRedirURL = '';
	strXDriveRedirURL += '/onlinestorage/redir_xdrive_download.asp';
	strXDriveRedirURL += ('?' + strDownloadURL);
	window.open(strXDriveRedirURL,'','toolbar=no,menubar=no,scrollbars=no,fullscreen=no,resizable=no,width=575,height=200');
}

}

function change(ID){
		window.location.href = "tax_edit.asp?ID=" + ID
}

function deleterate(ID){
		window.location.href = "tax_delete_confirm.asp?ID=" + ID	
}

function batchdelete() {
		if (window.confirm("Are you sure you want to continue? Deletions cannot be undone!")) 
			{  document.forms[0].Action.value = "Delete";
				document.forms[0].submit();
		} 
    }

