if ((navigator.cookieEnabled == 0) || (!navigator.cookieEnabled)) {
  alert("PLEASE NOTE: In order for the LoadingDock Website to function properly\nyou MUST have at least the minimum level of COOKIE allowed in your browser.\n\nThe Cookies used by the LoadingDock site cookie DO NOT in ANY way allow access\nto ANY personal information about you.\n\nThey are used to mark various stages of file handling as you upload and download files.\n\nWithout cookies enabled, you will experience severely diminshed functions of the site.\n\n\nUnfortunately you will also keep seeing this message\nas we have no way to 'Cookie' that you have already read it.");
}
function goHelp(helpID) {
	top.createDiv('https://www.loadingdock.ca/help.asp?helpid=' + helpID, '600', '400', 'block');
}
// ld_confirm did not exist... dont know if it was ever needed 
//function confirmAdd(contactid) {
	//createDiv('ld_confirm.asp?contactid=' + contactid,'600','400', 'block');
//}
function goInfo(RID,AID) {
	createDiv('info_details.asp?rid=' + RID + '&aliasid=' + AID, '400', '400', 'block');
}
function imgButtonSwap(img,varImg) {
	if(top.frames['upload_frame']||top.frames['forward_frame']){
		img.src = '../../art/ldi_button_' + varImg + '.gif';
	}else{
		img.src = "art/ldi_button_" + varImg + ".gif";
	}
}
function closeit(varDL,varRefresh) {
	if (varDL && varDL != 'undefined'){
		//top.frames['iframeUpdate'].execCode();
	} else {
		parent.removeDiv();
		if(!varRefresh){top.window.location.reload();}	
	}
	if(document.getElementById('java_app')){
		removeShimmer();
	}
}