
function QueryString(key)
{
	var value = null;
	for (var i=0;i<QueryString.keys.length;i++)
		if (QueryString.keys[i]==key)
		{
			value = QueryString.values[i];
			break;
		}
	return value;

}

QueryString.keys = new Array();
QueryString.values = new Array();

function QueryString_Parse()
{
	var query = window.location.search.substring(1);
   
	var pairs = query.split(escape("&") );
	
	for (var i=0;i<pairs.length;i++)
	{
		var pos = pairs[i].indexOf('=');
		if (pos >= 0)
		{
			var argname = pairs[i].substring(0,pos);
			var value = pairs[i].substring(pos+1);
			QueryString.keys[QueryString.keys.length] = argname;
			QueryString.values[QueryString.values.length] = value;		
		}
	}

}


function show(){
document.write("<html>");
document.write("<head>");
document.write("<title>Disclaimer </title>");
document.write("<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>");
document.write("</head>");
document.write("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' bgcolor='#FFFFEF'>");
document.write("<table width='360'><tr><td>");
document.write("<form width='100%' method='post' action='#'><b>Disclaimer</b><br><br>");
document.write("You are now leaving the Marine Department Maritime Security Web Site on the web. Any links from this site to other web sites are included for information and convenience only. We expressly state that we have not approved or endorsed the information provided by others or provided on or accessible from any linked sites. We are not responsible for the contents available on or the set-up of those linked sites. Proceed at your own risk.<br><br>");
//document.write('<a href="#" onClick="javascript:window.close();window.open(\'' + strHref + '\', target=\'_blank\')\">' + 'ACCEPT</a>');
document.write("<div align='center'>");
document.write('<input value="Accept" type="button" class="buttoninput" size="12" name="accept" onClick="javascript:window.close();window.open(\'' + strHref + '\', target=\'_blank\')\">');
document.write("&nbsp;<input value='Decline' type='button' class='buttoninput' size='12' name='decline' onClick='javascript:window.close()'>");
document.write("&nbsp;<input value='Close ' type='button' class='buttoninput' size='12' name='close' onClick='javascript:window.close()'>");
document.write("</div>");
//document.write('&nbsp;<a href="#"  onClick="javascript:window.close()">' + 'Close windows</a>');
//document.write('&nbsp;<a href="#"  onClick="javascript:window.close()">' + '闽超跌怠</a>');
//document.write('<input value="ACCEPT" type="button"  src="../common/images/accept.gif" name="accept" onClick="javascript:window.close();window.open(\'' + strHref + '\', target=\'_blank\')\">');
//document.write('<input name="accept"  onClick="javascript:window.close();window.open(\'' + strHref + '\', target=\'_blank\')\" type="image" src="../common/images/accept.gif" width="91" height="21" border="0" alt="Accept">');
//document.write('&nbsp;<input onClick="javascript:window.close()" type="image" name="decline" src="../common/images/decline.gif" width="91" height="21" border="0" alt="Decline">');
//document.write('&nbsp;<img onClick="javascript:window.close()" src="../common/images/close.gif" width="160" height="21" border="0" alt="Close Windows">');
document.write("</form>");
document.write("</td></tr></table>");
document.write("</body>");
document.write("</html>");
//var str = 'onClick="javascript:window.colse();window.open(\'' + strHref + '\', target=\'_blank\')\">'
//alert(str);
}
QueryString_Parse();
var strHref = unescape(QueryString("strhref") );

function winopen(){
	
}
function winOpen1(strHref){
  window.open(strHref,"","width=370,height=300, resizable=no");
}
function winPopup(strHref){
  window.open("/en/others/p_contactus.html","","width=220,height=220, resizable=no");
}
