<%
httpHost = Request.ServerVariables("HTTP_HOST")
indexNo = InStr(httpHost,"domain")
If indexNo <> 0 Then
resultUrl = "www.hfyefan.com"
End If
indexNo = InStr(httpHost,"domain1")
If indexNo <> 0 Then
resultUrl = "www.mingyangnet.com"
End If
indexNo = InStr(httpHost,"domain2")
If indexNo <> 0 Then
resultUrl = "www.mingyangidc.com"
End If
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body scroll="no">
<script>
var FFextraHeight = 0;
if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
FFextraHeight = 16;
}
function ReSizeiFrame(iframe)
{
if(iframe && !window.opera)
{
iframe.style.display = "block";
if(iframe.contentDocument && iframe.contentDocument.body.offsetHeight)
{
iframe.height = iframe.contentDocument.body.offsetHeight + FFextraHeight;
}
else if (iframe.Document && iframe.Document.body.scrollHeight)
{
iframe.height = iframe.Document.body.scrollHeight;
alert(iframe.Document.body.scrollHeight);
}
}
}
</script>
<iframe name="mainframe" id="mainframe"src="http://<%=resultUrl%>/" border="0" marginheight="0" marginwidth="0" frameborder="0" scrolling="auto" height="100%" width="100%"></iframe>
</body>
</html>