I use an image resizer/veiwer script That works Great in IE, but I've discovered that the custom page I use for Showing the Images, appears as text in Firefox. How can I make it
show as text/html ? It's a simple enough page.

page code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">

<html>

<head>
<title>Image Viewer</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

<STYLE>


body {background-image:url(http://i14.photobucket.com/albums/a345/Instar/greenbgfade17oi.jpg);
}
body{scrollbar-3d-light-color:#FFFFFF;scrollbar-arrow-color:#00CC33; scrollbar-base-color:#99FF66 ; scrollbar-dark-shadow-color:#009900 ; scrollbar-face-color:66CC00 ; scrollbar-highlight-color:#FFFFFF; scrollbar-shadow-color:white;}

</STYLE>

</head>
<body oncontextmenu="return false">
<script>window.onload = function(){document.getElementById("place_holder").src = window.opener.document.getElementById("imgurl").value;}
</script>
<center><img src="http://i14.photobucket.com/albums/a345/Instar/please_do_not_hotlink.gif" id="place_holder"></center>

</body>
</html>

the code

<body  onload=function(){document.getElementById("place_holder").src = window.opener.document.getElementById("imgurl").value; >

<script>
function ResizeThem() {
maxheight=250;
maxwidth= 250;
imgs=document.getElementsByTagName("img");
for (p=0; p<imgs.length; p++) {
if (imgs[p].getAttribute("alt")=="user posted image") {
w=parseInt(imgs[p].width);
h=parseInt(imgs[p].height);
if (parseInt(imgs[p].width)>maxwidth) {
imgs[p].style.cursor="pointer";
imgs[p].setAttribute('alt','Reduced Image - Click to see full size');
imgs[p].onclick=new Function("document.getElementById('imgurl').value = this.src; iw=window.open('http://inny.ipbfree.com/index.php?act=Attach&type=post&id=1342','ImageViewer','resizable=1,scrollbars=1');iw.focus()");
imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height;
imgs[p].width=maxwidth;
}
if (parseInt(imgs[p].height)>maxheight) {
imgs[p].style.cursor="pointer";
imgs[p].onclick=new Function("document.getElementById('imgurl').value = this.src; iw=window.open('http://inny.ipbfree.com/index.php?act=Attach&type=post&id=1342','ImageViewer','resizable=1,scrollbars=1');iw.focus()");
imgs[p].width=(maxheight/imgs[p].height)*imgs[p].width;
imgs[p].height=maxheight;
}
}
}
}
ResizeThem();
</script>


<input type="hidden" id="imgurl">

Dosent Seem To be the doctype, I changed It to

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

and the page alone displayed in firefox in a testbed, Has to be the code.

How can I make It work as Intended In firefox? (GRRR I hate firefox)

Ive discovered that if I add the code, It displays as text/plain instead of text/html

I just dont understand whats in the code that f*@#$erfox dosent like?

if I put this page in a testbed with firefox, it renders as 'Standards compliance mode'

displays perfectly, but directly in a firefox browser still renders as text/plain!!!

I can see right off the bat that you are missing the closing curly brace for the function definition in the onload event handler of the body. Plus it is missing quotes. After i fix that i just get a pretty picture of an emerald boa. maybe its a tree python...I don't know.

The first meta tag in that page is in the wrong place... move it to be inside the head section. Try validating the code aswel, correct any errors and see if it still has a problem.

Still an Issue, Im sure its the way my server is handling it.
tring to find a host for the page on an alternate server

dont understand why the page below works in firefox perfectly

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="Welcome To Reptile Planet">
<meta name="keywords"
content="Reptiles">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title> Credit Screen</title>
</head>

<body background="http://i14.photobucket.com/albums/a345/Instar/musicbg.jpg">
<script language="JavaScript1.2">


var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function scrollwindow(){
if (document.all)
temp=document.body.scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=document.body.scrollTop+1
else
currentpos=window.pageYOffset+1
window.scroll(0,currentpos)
}
else{
currentpos=0
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",2)
}
window.onload=initialize
</script>

<p> </p>

<p> </p>

<p align="center"><img src="http://i14.photobucket.com/albums/a345/Instar/rp2-1.jpg" width="371" height="35"
alt="logo (5979"><br>
<small><font face="Verdana"><span style="color: 'Blue'"><b>Credits Page</b></font></small></p>

<p align="left"><strong><font face="Verdana"><span style="color:'red'">~Main credits~</span></font></strong></p>

<p align="left"><font face="Verdana"><strong>Creator and main operator: </strong><span style="color:'blue'"><b>Inny</b></span></font></p>

<p align="left"><font face="Verdana"><strong>Co-Admin: </strong><span style="color:'blue'"><b>Gecko Girl</b></span></font></p>

<p align="left"><font face="Verdana"><strong>Design: </strong><span style="color:'blue'"><b>Inny</b></span></font></p>

<p align="left"><font face="Verdana"><strong>Banner Creator: </strong><span style="color:'blue'"><b>© Inny</b></span></font></p>

<p><strong><font face="Verdana"><span style="color:'Red'">~Misc credits~</span></font></strong></p>

<p><font face="Verdana"><strong>Web host provider: </strong><span style="color:'blue'"><b>www.ipbfree.com</b></span></font></p>
<p><center><image src="http://i14.photobucket.com/albums/a345/Instar/spashapic.jpg"></img></center></p>
<p> </p>

</body>
</html>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">

Tried this with problem page, still displaying as text/plain

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


<html>

<head>
<title>Image Viewer</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<STYLE>


body {background-image:url(http://i14.photobucket.com/albums/a345/Instar/greenbgfade17oi.jpg);
}
body{scrollbar-3d-light-color:#FFFFFF;scrollbar-arrow-color:#00CC33; scrollbar-base-color:#99FF66 ; scrollbar-dark-shadow-color:#009900 ; scrollbar-face-color:66CC00 ; scrollbar-highlight-color:#FFFFFF; scrollbar-shadow-color:white;}

</STYLE>

</head>
<body oncontextmenu="return false">
<script>window.onload = function(){document.getElementById("place_holder").src = window.opener.document.getElementById("imgurl").value;}
</script>
<center><img src="http://i14.photobucket.com/albums/a345/Instar/please_do_not_hotlink.gif" id="place_holder"></center>

</body>
</html>

full page source when code is installed (displaying as Quirks mode text/plain)

<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html dir='ltr'> 
<head> 
<title>Reptile Planet  -> Ancient Komodo Dragon Has Space-age Skull</title> 
<meta http-equiv='content-type' content='text/html; charset=iso-8859-1' /> 

<meta name='Author' content='Inny'>
<meta name='Keywords' content='Ancient Komodo Dragon Has Space-age Skull,Reptile Planet ,General,The Library,Reptile, Reptiles, snakes, snake, lizard, lizards, tortoise, turtle, turtles,python, pythons, boa, boas'>
<meta name='Description' content='Ancient Komodo Dragon Has Space-age Skull Reptile Planet  General The Library Global Reptile Club'>
<link rel="shortcut icon" href="http://h1.ripway.com/Inny/favicon.ico">
<meta name="verify-v1" content="oY0VWk19sfu6ty0UpoG4XQVKiNf+NAisFCDLa4jhkk8=" />


<noscript>

<meta http-equiv="refresh" content="1; URL='http://www.buymebuyme.com/retail/help/javascript.html'>
<center>
<table cellpadding="0" cellspacing="0" border="0" width="550">
<tr><td width="100%" valign="top" class="PPDesTxt"><b>Are you using a browser that doesn't support JavaScript?</b></td></tr>

<tr><td width="100%" valign="top" class="PPDesTxt">If your browser does not support JavaScript, you can upgrade to a newer browser, such as <a href="http://www.microsoft.com/windows/ie/downloads/ie6/default.asp">Microsoft® Internet Explorer 6</a> or <a href="http://wp.netscape.com/computing/download/bdp/index.html">Netscape 6</a>.</td></tr>

<tr><td width="100%" valign="top" class="PPDesTxt"><b>Have you disabled JavaScript?</b></td></tr>

<tr><td width="100%" valign="top" class="PPDesTxt">If you have disabled JavaScript, you must re-enable JavaScript to use this page. To enable JavaScript:</td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%">

<tr><td width="100%" colspan="2"><img src="http://stickandballguy.com/blog/wp-content/uploads/2007/06/simpsons-the-doh-4900579.jpg"  border="0"></td></tr>
</table></td>
</tr><tr><td>

</noscript>







<script type="text/javascript" src="http://static.1.ipbfree.com/external/js/lib_jq.js"></script>
<script type="text/javascript" src="http://static.1.ipbfree.com/external/js/ext_jq_tb.js"></script>
<script type='text/javascript' src='http://static.1.ipbfree.com/external/js/ext_jq_cookies.js'></script>

<style type='text/css'>
html{overflow-x:auto;}


BODY{font-family:Verdana,Tahoma,Arial,sans-serif;font-size:12px;color:#000000;background-image:url(http://i14.photobucket.com/albums/a345/Instar/greenbgfade17oi.jpg);
 background-attachment:fixed;center;no-repeat;}

body{scrollbar-3d-light-color:#FFFFFF;scrollbar-arrow-color:#00CC33; scrollbar-base-color:#99FF66 ; scrollbar-dark-shadow-color:#009900 ; scrollbar-face-color:66CC00 ; scrollbar-highlight-color:#FFFFFF; scrollbar-shadow-color:white;}



BODY{
cursor:url("http://h1.ripway.com/Inny/LacosteCrocodile.cur");
}


margin:0px;padding:0px;background-color:#000000;text-align:center}
TABLE,TR,TD{font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;color:#000000; font-weight:bold;
}


#ipbwrapper{text-align:left;width:95%;margin-left:auto;margin-right:auto;}
#ipbwrapper img{vertical-align:middle;border:0px;}


a:link,a:visited,a:active{text-decoration:underline;color:#333300}
a:hover{color:Red;text-decoration:underline}

fieldset.search{padding:6px;line-height:100%}
label� � �{cursorointer;}
form� � �{display:inline;}
img.attach{border:2px outset #EEF2F7;padding:2px;filter:progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);}

li.helprow{padding:0px;margin:0px 0px 10px 0px}
ul#help� �{padding:0px 0px 0px 15px}

option.cat{font-weight:bold;}
option.sub{font-weight:bold;color:#555}
.caldate�{text-align:right;font-weight:bold;font-size:11px;color:#777;background-image:url();padding:4px;margin:0px}

.warngood{color:green}
.warnbad�{color:red}

#padandcenter{margin-left:auto;margin-right:auto;text-align:center;padding:14px 0px 14px 0px}

#profilename{font-size:28px;font-weight:bold;}
#calendarname{font-size:22px;font-weight:bold;}

#photowrap{padding:6px;}
#phototitle{font-size:24px;border-bottom:1px solid black}
#photoimg�{text-align:center;margin-top:15px;}

#ucpmenu� �{line-height:150%;width:22%;border:1px solid #345487;background-color:#F5F9FD}
#ucpmenu p�{padding:2px 5px 6px 9px;margin:0px;}
#ucpcontent{background-color:#F5F9FD;border:1px solid #345487;line-height:150%;width:auto }
#ucpcontent p�{padding:10px;margin:0px;}




#submenu�{border:1px solid #BCD0ED;background-color:#DFE6EF;font-size:10px;margin:3px 0px 3px 0px;color:#3A4F6C;font-weight:bold;}
#submenu a:link,#submenu� a:visited,#submenu a:active{font-weight:bold;font-size:10px;text-decoration:none;color:#3A4F6C; margin-top:0px; margin-bottom:0px;}
#userlinks{border:1px solid #C2CFDF;background-image:url(); 
}
#navstrip�{font-weight:bold;padding:6px 0px 6px 0px;}


#userlinks {border:1px solid #C2CFDF;background-image:url(); 
}


.activeuserstrip{background-image:url();padding:6px;
}


.pformstrip{background-image:url();color:#3A4F6C;font-weight:bold;padding:7px;margin-top:1px}
.pformleft�{background-color:#F5F9FD;padding:6px;margin-top:1px;width:25%;border-top:1px solid #C2CFDF;border-right:1px solid #C2CFDF;}
.pformleftw{background-image:url();padding:6px;margin-top:1px;width:40%;border-top:1px solid #C2CFDF;border-right:1px solid #C2CFDF;}
.pformright{background-image:url();padding:6px;margin-top:1px;border-top:1px solid #C2CFDF;}





.signature�{font-size:12px;color:#000000;line-height:100%}



.postdetails{font-size:16px}
.postcolor�{ font-size:14px;line-height:160%}

.normalname{font-size:11px;font-weight:bold;color:#000000}
.normalname a:link,.normalname a:visited,.normalname a:active{font-size:12px}
.unreg{font-size:11px;font-weight:bold;color:#900}

.post1{ background-image:url(
http://i14.photobucket.com/albums/a345/Instar/screenys/wood.jpg)}

.post2{ background-image:url(
http://i14.photobucket.com/albums/a345/Instar/screenys/wood.jpg) }



.postlinksbar{background-color:transparent;padding:7px;margin-top:1px;font-size:10px;background-image:url()}


.row1 {background-color:
}
.row2{background-image:url()}

.row3{background-image:url()}

.row4{background-image:url()}


 

.darkrow1{background-image:url() border:opx;
}

.darkrow2{background-image:url()}


.darkrow3 {background-image:url()}


.hlight{background-image:url()}


.dlight{background-image:url()}


.titlemedium{font-weight:bold;color:#000000;padding:7px;margin:4px; }
.titlemedium� a:link,.titlemedium� a:visited,.titlemedium� a:active�{text-decoration:underline;color:#000000}



.maintitle{vertical-align:middle;font-weight:bold;color:#000000 ;padding:8px 0px 8px 5px; }


.maintitle a:link,.maintitle� a:visited,.maintitle� a:active{text-decoration:none;color:#000000  }
.maintitle a:hover{text-decoration:underline}


html{overflow-x:auto;}



.plainborder{border:1px solid #345487;background-image:url()}

.tableborder{border:1px solid #345487;background-image:url() }
 padding:0;margin:0}
.tablefill�{border:1px solid #345487;background-image:url() 
;padding:6px;�}
.tablepad� �{background-color:#F5F9FD;padding:6px}
.tablebasic�{width:100%;padding:0px 0px 0px 0px;margin:0px;border:0px}

.wrapmini� �{float:left;line-height:1.5em;width:25%}
.pagelinks�{float:left;line-height:1.2em;width:35%}

.desc{font-size:12px;color:#000000}
.edit{font-size:9px}


.searchlite{font-weight:bold;color:#F00;background-color:#FF0}


#QUOTE{white-space:normal;font-family:Verdana,Arial;font-size:11px;color:#465584;background-image:url();
 border:1px solid #000;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px}






#CODE�{white-space:normal;font-family:Courier,Courier New,Verdana,Arial;� font-size:12px;color:#465584;background-color:#FAFCFE;border:1px solid #000;padding-top:2px;padding-right:2px;padding-bottom:2px;padding-left:2px}

.copyright{font-family:Verdana,Tahoma,Arial,Sans-Serif;font-size:9px;line-height:12px}

.codebuttons�{font-size:10px;font-family:verdana,helvetica,sans-serif;vertical-align:middle;background-color:#00FF33}
.forminput,.textinput,.radiobutton,.checkbox�{font-size:11px;font-family:verdana,helvetica,sans-serif;vertical-align:middle;}

.thin{padding:6px 0px 6px 0px;line-height:140%;margin:2px 0px 2px 0px;border-top:1px solid #FFF;border-bottom:1px solid #FFF}

.purple{colorurple;font-weight:bold}
.red� �{color:red;font-weight:bold}
.green�{color:green;font-weight:bold}
.blue�{color:blue;font-weight:bold}
.orange{color:#F90;font-weight:bold} 

input.button{
color:#;background:#ffffff;
font-size:.8em;
font-weight:bold;
font-family:Verdana,Arial,Helvetica,sans-serif;
border:solid 1px #000;
}








#IPB_LOGO {url (http://i14.photobucket.com/albums/a345/Instar/Avatars/AnimationWizard3.gif); 
}


#ACP{
position: absolute;filter: progid:DXImageTransform.Microsoft.Shadow(color=#B5B5B5 ,direction=135);
top: 100px;
left: 50px;
width: 200px;
height: 134px;

visibility: hidden;
border: 0px solid #000;
padding: 0px;
background-image: url(http://i14.photobucket.com/albums/a345/Instar/Site%20related%20pics%20herpersanon/tinygreen.jpg);
font-size: 8.0pt;
font-family: verdana;
line-height: 1.7em

}

   
.js-kit-comments{
 
font-style:italic; font-weight:bold;margin-top:12px;Zoom:1;}
.js-singleCommentKarma { display:none; }
.js-singleCommentDate { color:#000000; }
.js-singleCommentName { color:#000000; }

#comments{background-image:url(http://i14.photobucket.com/albums/a345/Instar/screenys/scrubby-1.jpg); background-attachment:  fixed ; center;  }


#comments{background:url(http://i14.photobucket.com/albums/a345/Instar/screenys/scrubby-1.jpg) repeat fixed center; }



.pformleft.forminput {

	border:solid 1 #000;
	background: transparent ;
font-style:italic;font-weight:bold;
	 }




</style>

<link rel="stylesheet" href="http://static.1.ipbfree.com/external/css/tb.css" type="text/css" media="screen" />

<link rel="alternate" type="application/rss+xml" title="reptileplanetaustralia" href="feeds/index/a/out/f/2/show/10/type/rss/">
 
 
<script language="JavaScript"> 

function blockError(){return true;}

window.onerror = blockError;
</script>


<script language="JavaScript">
function Stickys(){
	 Stickys = window.open("http://youstickit.com/board/Inny/","Stickyswindow","height=600,width=800,toobar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizeable=0");
Stickys.focus();
}
</script>

<script language="JavaScript">
function ActivePage(){
	 Topics = window.open("http://inny.ipbfree.com/index.php?act=Attach&type=post&id=3","ActivePagewindow","height=200,width=600,toobar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizeable=0");
Topics.focus();
}
</script>

<script language="JavaScript">
function radio(){
	 Tuner = window.open("http://inny.ipbfree.com/index.php?act=Attach&type=post&id=168","radiowindow","height=200,width=600,toobar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizeable=0");
Tuner.focus();
}
</script>

<script language="JavaScript">
function Chatroom(){
	 Topics = window.open("http://inny.ipbfree.com/index.php?act=Attach&type=post&id=231","Chatroomwindow","height=540,width=750,toobar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizeable=1");
Chatroom.focus();
}
</script>

<script language="JavaScript">
function Music(){
	 Songs = window.open("http://h1.ripway.com/Inny/MusicBox.html","Music","height=328,width=400,toobar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=0");
Songs.focus();
}
</script>



<script language="JavaScript">
<!--
Timeout=180000 // set delay time for effect
Timer=""
function oStatic() {
clearTimeout(Timer)
if(timerRunning == true||blurred==1){ // if win1 opened or opener is blurred, return
return
}
timerRunning = true
win1=window.open("http://inny.ipbfree.com/index.php?act=Attach&type=post&id=5",'','fullscreen') // if win1 not opened, open win1
Timer=setTimeout("oStatic()",Timeout) // run function oStatic after delay
}
opened=0 // win1 not opened
function oActive(){ // 
clearTimeout(Timer)
if(opened==1){return} // if win1 opened, return
timerRunning = false
Timer=setTimeout("oStatic()",Timeout) // if win1 not opened run function oStatic after delay
}
document.onmousemove=oActive // detect mouse movement
document.onmousedown=oActive // detect if button pressed
document.onkeypress=oActive // detect if key press
setTimeout("oActive()",1000)
//-->
</script> 

<BODY onblur="blurred='1'" onfocus="blurred='0';oActive()">

<script>document.write(Timeout/1000);</script> 

<script language="JavaScript">
function Repmap(){
	 Map = window.open("http://h1.ripway.com/Inny/ReptileMap.html","ActivePagewindow","height=500,width=700,toobar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizeable=0");
Map.focus();
}
</script>





<script language="JavaScript">

function show_ACP(){

if (document.getElementById)
{document.getElementById("ACP").style.visibility = "visible"}

else {document.ACP.visibility = "hidden"}

}//ends open function

function hide_ACP(){

if (document.getElementById)
{document.getElementById("ACP").style.visibility = "hidden";}

else{document.ACP.visibility = "hidden";}

}//ends close function
</script>





<style type="text/css">

textarea {
background-color: transparent;font-style:italic;font-weight:bold;
background-image:url(http://i14.photobucket.com/albums/a345/Instar/watermark_10590.gif);
 background-attachment:fixed ;z-index: -1;
background-repeat:no-repeat; background-position:50% 50%;
 }
</style>



<script language="JavaScript" type="text/javascript">
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
} 
</script>




<style type="text/css">
<!--
A.ssmItems:link		{color:black;text-decoration:none;}
A.ssmItems:hover	{color:black;text-decoration:none;}
A.ssmItems:active	{color:black;text-decoration:none;}
A.ssmItems:visited	{color:black;text-decoration:none;}
//-->
</style>
<SCRIPT SRC="http://h1.ripway.com/Inny/ssm.js" language="JavaScript1.2"></SCRIPT>

<SCRIPT SRC="http://h1.ripway.com/Inny/ssmItems.js" language="JavaScript1.2"></SCRIPT>


<script>
function opencredit(){
//set this to the file of the credit
var creditfile="http://h1.ripway.com/Inny/credits.htm"

if (document.all)
creditwindow=window.open(creditfile,"","width=400,height=328")
else
creditwindow=window.open(creditfile,"","width=400,height=328,scrollbars")
}
</script>


<SCRIPT LANGUAGE="javascript">


var wArray = new Object 

function swapDock(id) {
	
	var el = document.all[id]
	var st = el.style
	if (st.display=="none") {
		
		st.display = ""	

		if (!wArray[id].closed)
			wArray[id].close()
	}
	else {
		
		wArray[id] = window.open("chatbox",id,"scrollbars=yes,width="+el.offsetWidth + ",height="+(el.offsetHeight+20) + ",top=" + (event.screenY-10)  + ",left=" + (event.screenX-80))
		wArray[id].document.open()
		wArray[id].document.write("<TITLE>" + el.title + "</TITLE>")
	
		wArray[id].document.write("<BASE TARGET=\"main\">")

		wArray[id].document.write("<SCRIPT>\n" + window.redock + "</" + "SCRIPT>")

		wArray[id].document.write("<BODY background='http://i14.photobucket.com/albums/a345/Instar/screenys/wood.jpg' ONBEFOREUNLOAD=\"redock()\" ID=\"" + id + "\">")
		
		wArray[id].document.write(document.all[id].innerHTML)
		wArray[id].document.close()
		
		st.display = "none"


		wArray[id].dockable = true
		
		wArray[id].focus()
	}
}

function doUnload() {
	
	for (var w in wArray)
		if (!wArray[w].closed) 
			wArray[w].dockable = false
}

window.onbeforeunload = doUnload;

function fixDock(id) {
	
	document.all[id].style.display = ""
}

function redock() {

	if (window.dockable)
		window.opener.fixDock(document.body.id)
}


window.name = "dock"
</SCRIPT>



</head> 



<body  onload=function(){document.getElementById("place_holder").src = window.opener.document.getElementById("imgurl").value; >



<script src="http://h1.ripway.com/Inny/restore.js"></script>

<script type=text/javascript>
  function refresh()
  {
    document.all.cboxmain.src = document.all.cboxmain.src;
  }
  window.setInterval("refresh()",60000);
</script>




<BODY onunload="saveSelections(document.forms[0])";>



<span style="background:Yellow";> <a href='#ShowACP' onclick="show_ACP()"><b>Quick log In </b></a></span>



<center><table border="0"  width="500px"><tr><td>
<marquee scrollamount="4" direction="left" onmouseover=this.stop() onmouseout=this.start() ><span style="background:";><font face="Gaze" size="4">

Welcome To Reptile Planet ! <img src="http://inny.ipbfree.com/uploads/ipbfree.com/inny/emo-th_6.gif"/>   Guests have Reply Access to most Forums, however,      For Unrestricted access to this site, please take a moment to register!! <img src="http://inny.ipbfree.com/html/emoticons/wink.gif"/>      What's Your Favorit Reptile? to Vote <a href="#Poll">Click Here!</a>   <img src="http://inny.ipbfree.com/uploads/ipbfree.com/inny/emo-smiley_turtle.gif"/>
           Latest Stories About Reptiles From around the World! Updated Twice Daily, So you Dont miss A thing!  <img src="http://inny.ipbfree.com/uploads/ipbfree.com/inny/emo-lacoste-crocodile_10352.gif"/>        Take A Snake Quiz, <a href="http://h1.ripway.com/Inny/Quiz.html"target='_blank'>Click Here!</a>  <img src="http://inny.ipbfree.com/uploads/ipbfree.com/inny/emo-frog.gif"/>         Enjoy Our Video On Demand Forum, The best Of Reptile Videos    <img src="http://inny.ipbfree.com/html/emoticons/cool.gif"/>      Enjoy Your Stay, Please Visit Again!  <img src="http://inny.ipbfree.com/uploads/ipbfree.com/inny/emo-smiley42.gif"/></font></span></marquee></td></tr></table></center>

<div id="ACP" align="left">
<form style='display:inline' action="http://inny.ipbfree.com/index.php?act=Login&CODE=01&CookieDate=1" method="post" target="_parent">
<div class="tableborder">
<div class="mydiv" valign="top">
<img src="http://i14.photobucket.com/albums/a345/Instar/python-snake.gif"></img> <input type="checkbox" name="Privacy" value="1" /><b>Remain Anonymous</b>
  <p class="expand" valign="top">
<a href="#cancel" onclick="hide_ACP()">[X]</a></p></div>
<div class="tablepad">
<b>Member Login</b>
<br>
<input type="text" class="forminput" size="10" name="UserName" onfocus="this.value=''" value="User Name" />
<input type='password' class='forminput' size='10' name='PassWord' onfocus="this.value=''" value='ibfrules' />
<input type='submit' class='forminput' value='Go' / onclick="hide_ACP()">
</div></div>
</form>
</div>


	<script language='JavaScript' type="text/javascript">
<!--
function buddy_pop() { window.open('index.php?act=buddy&s=','BrowserBuddy','width=250,height=500,resizable=yes,scrollbars=yes'); }
function chat_pop(cw,ch)  { window.open('index.php?s=&act=chat&pop=1','Chat','width='+cw+',height='+ch+',resizable=yes,scrollbars=yes'); }
function multi_page_jump( url_bit, total_posts, per_page )
{
pages = 1; cur_st = parseInt("0"); cur_page  = 1;
if ( total_posts % per_page == 0 ) { pages = total_posts / per_page; }
 else { pages = Math.ceil( total_posts / per_page ); }
msg = "Please enter a page number to jump to between 1 and" + " " + pages;
if ( cur_st > 0 ) { cur_page = cur_st / per_page; cur_page = cur_page -1; }
show_page = 1;
if ( cur_page < pages )  { show_page = cur_page + 1; }
if ( cur_page >= pages ) { show_page = cur_page - 1; }
 else { show_page = cur_page + 1; }
userPage = prompt( msg, show_page );
if ( userPage > 0  ) {
	if ( userPage < 1 )     {    userPage = 1;  }
	if ( userPage > pages ) { userPage = pages; }
	if ( userPage == 1 )    {     start = 0;    }
	else { start = (userPage - 1) * per_page; }
	window.location = url_bit + "&st=" + start;
}
}
//-->
</script>
 
<!--IBF.BANNER-->
<div id='logostrip'>


<a href="http://inny.ipbfree.com/index.php?" title="Board Home"><center><a href="http://inny.ipbfree.com/index.php?"><img src="
http://i14.photobucket.com/albums/a345/Instar/Avatars/AnimationWizard3.gif" border="0" color="green"></a></center></a>


</div>

<!-- IE6/Win TABLE FIX -->
<table  width="100%" cellspacing="6" id="submenu">
<tr>
 <td><a href='http://inny.ipbfree.com/index.php?act=home'>Site Portal</a><!--IBF.RULES--></td>
 <td align="right">
   &nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_help.png' border='0' alt='' />&nbsp;<a href='http://inny.ipbfree.com/index.php?act=Help'>Help</a>
   &nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_search.png' border='0' alt='' />&nbsp;<a href='http://inny.ipbfree.com/index.php?act=Search&amp;f=12'>Search</a>
   &nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_members.png' border='0' alt='' />&nbsp;<a href='http://inny.ipbfree.com/index.php?act=Members'>Members</a>
   &nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_calendar.png' border='0' alt='' />&nbsp;<a href='http://inny.ipbfree.com/index.php?act=calendar'>Calendar</a>
&nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_favs.png' border='0' alt='' /> <a href='http://inny.ipbfree.com/index.php?act=fav'>Favorites</a>


&nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_arcade.png' border='0' alt='' /> <a href='http://inny.ipbfree.com/index.php?act=Arcade'>Arcade</a>
&nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_rep.png' border='0' alt='' /> <a href='http://inny.ipbfree.com/index.php?act=rep&CODE=totals'>Reputation</a>
&nbsp; &nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/atb_store.png' border='0' alt='' /> <a href='http://inny.ipbfree.com/index.php?act=store'>Store</a>

   <!--IBF.CHATLINK-->
   <!--IBF.TSLLINK-->
 </td>
</tr>
</table>

  <table width="100%" id="userlinks" cellspacing="6">
   <tr>
    <td><strong>Logged in as:  <a href='http://inny.ipbfree.com/index.php?showuser=1'>Inny</a></strong> ( <a href='http://inny.ipbfree.com/index.php?act=Login&amp;CODE=03'>Log Out</a>&nbsp;&middot; <b><a href='http://inny.ipbfree.com/admin.php' target='_blank'>Admin CP</a></b> &middot; <b><a href='http://inny.ipbfree.com/index.php?act=modcp&amp;forum=12'>Mod CP</a></b>  )</td>
    <td align='right'>
      <b><a href='http://inny.ipbfree.com/index.php?act=UserCP&amp;CODE=00' title='Edit my settings, such as signature, avatar and more...'>My Controls</a></b> &middot; <a href='http://inny.ipbfree.com/index.php?act=Msg&amp;CODE=01'>0 New Messages</a>
      &middot; <a href='http://inny.ipbfree.com/index.php?act=Search&amp;CODE=getnew'>View New Posts</a> &middot; <a href='javascript:buddy_pop();' title='View posts since your last visit, moderator lists and more...'>My Assistant</a></td>
   </tr>
  </table>



<br />
<script></script><table width="468" cellspacing="6" align="center">
   <tr>
    <td align="center">
	
	<!-- BEGIN TAG - 728x90 - ipbfree.com - DO NOT MODIFY -->
	<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=728 HEIGHT=90 SRC="http://optimizedby.rmxads.com/st?ad_type=iframe&ad_size=728x90&section=189430"></IFRAME>
	<!-- END TAG -->
	<br />

</td></tr>
  </table> 


 
<center>[<img src="
http://www.stream24.de/images/inhalt/logo_ie.gif"/>
**<a href="javascript:radio()"><b><i>Reptile Radio</i></b></a><img src="http://i14.photobucket.com/albums/a345/Instar/screenys/microphone_17837.gif"/>
**<a href="javascript:Chatroom()"><b><i>ChatRoom</i></b></a>]**<a href="http://reptileplanet.wetpaint.com/"target='_blank'><b><i>RPA Wiki</i></b></a>**<a href="http://inny.ipbfree.com/index.php?act=SR&f=30"><b><i>4 Kids</i></b></a>**<a href="javascript:Repmap()"><b><i>Reptile Map</i></b></a> <br>

[<img src="http://images.game-monitor.com/v2/firefox-logo.png"/><b>
**<a href="http://h1.ripway.com/Inny/FFReptileRadio.html" target="name"
onclick="window.open('http://h1.ripway.com/Inny/FFReptileRadio.html','name','height=200,width=600,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); return false;"
>Reptile Radio<img src="http://i14.photobucket.com/albums/a345/Instar/online_bar.gif"border="0"/></a>**<a href="http://h1.ripway.com/Inny/Chatroom.html"target='_blank'>Chatroom</a></b>] *<a href="javascript:Music()"><b><i>Easy Listening</i></b></a>
<script>
// Hide Hack
// (C) Copyright http://forums.distantstarz.net
// Copyright may not be removed or editted.
// No additions to the copyright may be added
ul = document.getElementById('userlinks');
member = ul.innerHTML.match(/Logged in as/i)
guest = ul.innerHTML.match(/guest/i)
if (guest) {
document.write("<style> .member {display:none;}</style>");
}
if (member) {
document.write("<style> .guest {display:none;}</style>");
}
</script>

<span class="member">

<b><a href="http://h1.ripway.com/Inny/MemberMap.html"target='_blank'>Member Map~Add Yourself! </a></b>

</span>
</center>
<br>



<center>
<TABLE background="" WIDTH=640 BORDER=6 CELLPADDING=0 CELLSPACING=0>
<TR><TD><font face="Gaze" size="4">Chatbox~Welcome!</font></TD><TD ALIGN=RIGHT>
<IMG SRC="http://www.musocity.com/images/undock2.gif" ONCLICK="swapDock('chatbox')"></TR>
<TR><TD ID="chatbox" COLSPAN=2>

<center>
<!-- BEGIN CBOX - www.cbox.ws -->
<div align="center" id="cboxdiv">
<iframe  frameborder="0" width="600" height="116" src="http://www4.cbox.ws/box/?boxid=3383940&boxtag=2280&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe><br/>
<iframe frameborder="0" width="600" height="107" src="http://www4.cbox.ws/box/?boxid=3383940&boxtag=2280&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe>
</div>
<!-- END CBOX -->

</center>


</TD></TR></TABLE></center>


<br>

<br>

<center><table width="400px" style="border: 1px solid black">
<tr>
<td width="100%"><center><span class="member"><a href="javascript:Stickys()"><b><i>Sticky Notes</i></b></a>
*~*</span>
<b><a href="javascript:opencredit()">  © Reptile Planet!</a>
</b>*~*<b><script language="JavaScript">
function EmailLink(){
window.location = "mailto:"+"?subject=Check Out This Post!" + "&body="+document.title+"  "+window.location;
}
document.write('<a href="javascript:EmailLink()">Email This Topic</a>')
</script></b></center>
</td>
</TR></table></center>
<br>

<br>
<div id="content">

<div id='navstrip' align='left'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/nav_home.gif' border='0'  alt='' />&nbsp;<a href='http://inny.ipbfree.com/index.php?act=idx'>Reptile Planet </a>&nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/nav.gif' border='0'  alt='' />&nbsp;&nbsp;<a href='http://inny.ipbfree.com/index.php?act=SC&amp;c=1'>General</a>&nbsp;&nbsp;<img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/nav.gif' border='0'  alt='' />&nbsp;&nbsp;<a href='http://inny.ipbfree.com/index.php?showforum=12'>The Library</a></div>
<br />





    <script language='javascript' type='text/javascript'>
    <!--
    
    function link_to_post(pid)
    {
    	temp = prompt( "Manually copy the direct link to this post below to store the link in your computer's clipboard", "http://inny.ipbfree.com/index.php?showtopic=1410&view=findpost&p=" + pid );
    	return false;
    }
    
    function delete_post(theURL) {
       if (confirm('Are you sure you want to delete this message?')) {
          window.location.href=theURL;
       }
       else {
          alert ('Ok, no action has been taken');
       } 
    }
    
    function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
    if (posleft != 0) { x = posleft }
    if (postop  != 0) { y = postop  }

    if (!scroll) { scroll = 1 }
    if (!resize) { resize = 1 }

    if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
      X = (screen.width  - width ) / 2;
      Y = (screen.height - height) / 2;
    }
    if (scroll != 0) { scroll = 1 }

    var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
	}


	function ShowHide(id1, id2) {
	  if (id1 != '') expMenu(id1);
	  if (id2 != '') expMenu(id2);
	}

	
	function ShowHideAnimated(id) 
	{
		//copyright IPBFREE.COM
	 	if (id != '')
	  	{ 
 		 	$("#"+id).slideToggle();
		}
 	}
	
	function expMenu(id) {
	  var itm = null;
	  if (document.getElementById) {
		itm = document.getElementById(id);
	  } else if (document.all){
		itm = document.all[id];
	  } else if (document.layers){
		itm = document.layers[id];
	  }
	
	  if (!itm) {
	   // do nothing
	  }
	  else if (itm.style) {
		if (itm.style.display == "none") { itm.style.display = ""; }
		else { itm.style.display = "none"; }
	  }
	  else { itm.visibility = "show"; }
	}
    //-->
    </script>
    
<a name='top'></a>


<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
 <td align='left' width="20%" nowrap="nowrap">&nbsp;</td>
 <td align='right' width="80%"><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=02&amp;f=12&amp;t=1410'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_reply.gif' border='0'  alt='Reply to this topic' /></a><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=00&amp;f=12' title='Start a new topic'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_new.gif' border='0'  alt='Start new topic' /></a><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=10&amp;f=12'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_poll.gif' border='0'  alt='Start Poll' /></a></td>
</tr>
</table>
<br />
<div class="tableborder">
<div class='maintitle'>»&nbsp;<b>Ancient Komodo Dragon Has Space-age Skull</b></div>
	<!--{IBF.POLL}-->
	<div align='right' class='postlinksbar'>
	  <strong><a href='http://inny.ipbfree.com/index.php?showtopic=1410&amp;flag=flag'>Flag this topic</a> | 	<a href="http://inny.ipbfree.com/index.php?act=Post&amp;CODE=14&amp;f=12&amp;t=1410">Attach New Poll</a> |&nbsp;<a href="index.php?act=fav&topic=1410">Add/Remove Favorites</a> | 
	  <a href='http://inny.ipbfree.com/index.php?act=Track&amp;f=12&amp;t=1410'>Track this topic</a> |
	  <a href='http://inny.ipbfree.com/index.php?act=Forward&amp;f=12&amp;t=1410'>Email this topic</a> |
	  <a href='http://inny.ipbfree.com/index.php?act=Print&amp;client=printer&amp;f=12&amp;t=1410'>Print this topic</a>
	  
	  </strong>
	</div>
	
	<!--Begin Msg Number 1775-->
    <table width='100%' border='0' cellspacing='1' cellpadding='3'>
    <tr>
      <td valign='middle' class='row4' width="1%"><a name='entry1775'></a><span class='normalname'><a href='http://inny.ipbfree.com/index.php?showuser=1'>Inny</a></span> <img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/online_status.png' alt='Online' /> <img src='http://inny.ipbfree.com/html/flags/mini/au.gif' border='0' ></td>
        <td class='row4' valign='top' width="99%">
        
        <!-- POSTED DATE DIV -->
        
        <div align='left' class='row4' style='float:left;padding-top:4px;padding-bottom:4px'>
        <span class='postdetails'><b><a title="Show the link to this post" href="#" onclick="link_to_post(1775); return false;" style="text-decoration:underline">Posted:</a></b> Yesterday, 01:40 PM</span>
        </div>
        
        <!-- REPORT / DELETE / EDIT / QUOTE DIV -->
        
        <div align='right'>
        <a href='http://inny.ipbfree.com/index.php?act=report&amp;f=12&amp;t=1410&amp;p=1775&amp;st=0'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_report.gif' border='0'  alt='Report Post' /></a><a href="http://inny.ipbfree.com/index.php?act=Post&amp;CODE=08&amp;f=12&amp;t=1410&amp;p=1775&amp;st=0"><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_edit.gif' border='0'  alt='Edit Post' /></a><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=06&amp;f=12&amp;t=1410&amp;p=1775'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_quote.gif' border='0'  alt='Quote Post' /></a>
      </div>
      
      </td>
    </tr>
    <tr>
      <td valign='top' class='post2'>
        <span class='postdetails'><img src='http://static.1.ipbfree.com/arcade/images/desertdash2.gif' border='0' alt='' /> <a href='http://inny.ipbfree.com/index.php?act=Arcade&do=stats&gameid=40'>Desert Dash Champion!</a><br /><br /><br /><img src='http://inny.ipbfree.com/uploads/ipbfree.com/inny/av-1.jpg' border='0' width='100' height='100' alt='' /><br /><br />
        Administrator<br />
        <img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/pip.gif' border='0'  alt='*' /><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/pip.gif' border='0'  alt='*' /><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/pip.gif' border='0'  alt='*' /><br /><br />
        Group: Admin<br />
        Posts: 1525<br />
        Joined: 1-December 07<br />
        Member No.: 1<br />

<a href='http://inny.ipbfree.com/index.php?act=rep&CODE=03&mid=1'>Reputation:</a> 9 pts <br />
Points: 13050<br />Member Inventory: <a href='http://inny.ipbfree.com/index.php?act=store&CODE=view_inventory&memberid=1'>View</a><br /><br />

<br />
<br />
        <br />
         </span><br />
        <!--$ author[field_1]-->
        <img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/spacer.gif' alt='' width='160' height='1' /><br /> 
      </td>
      <td width='100%' valign='top' class='post2'>
        <!-- THE POST 1775 -->
        <div class='postcolor'> (Apr. 14, 2008)<br /><br />The fearsome Komodo dragon is the world's largest living lizard and can take very large animal prey: now a new international study has revealed how it can be such an efficient killing machine despite having a wimpy bite and a featherweight skull.<br /><br />A member of the goanna family with ancestors dating back more than 100 million years, the dragon (Varanus komodoensis) uses a combination of 60 razor-sharp serrated teeth, powerful neck muscles and what researchers are calling a &quot;space-frame&quot; skull to butcher prey with awesome efficiency, the study found.<br /><br /><img src='http://www.sciencedaily.com/images/2008/04/080414091357-large.jpg' border='0' alt='user posted image' /><br /><i>The fearsome Komodo dragon is the world's largest living lizard and can take very large animal prey: now a new study has revealed how it can be such an efficient killing machine despite having a wimpy bite and a featherweight skull.</i><br /><br />They note that the dragon -- inhabiting the central Indonesian islands of Komodo, Rinca, Flores, Gili Motang and Gili Dasami -- shares the feeding and dental characteristics of extinct dinosaurs, sharks and sabre-toothed cats. Scientists Karen Moreno and Stephen Wroe from the University of New South Wales have used a computer-based technique called Finite Element Analysis (FEA) to test the bite force and feeding mechanics of the predator. Their findings are to be published in the latest issue of the Journal of Anatomy.<br /><br />Normally used in the analysis of trains, planes and cars, the technique allowed the team to &quot;reverse engineer&quot; nature's design to assess the mechanical forces that a Komodo skull can handle. &quot;The Komodo has a featherweight, space-frame skull and bites like a wimp,&quot; according to Wroe, &quot;but a combination of very clever engineering, and wickedly sharp teeth, allow it to do serious damage to even buffalo-sized prey.<br /><br />&quot;The Komodo displays a unique hold and pull-feeding technique,&quot; says Dr Wroe. &quot;Its delicate skull differs greatly from most living terrestrial large prey specialists, but it's a precision instrument, beautifully optimised to make the most of its natural cranial and dental properties.<br /><br />&quot;Unlike most modern predators, Varanus komodoensis applies minimal input from the jaw muscles when killing and butchering prey. But it compensates using a series of actions controlled by its postcranial muscles. A particularly interesting feature of the skull's performance is that it reveals considerably lower overall stress when these additional forces driven by the neck are added to those of the jaw-closing muscles.<br /><br />&quot;This remarkable reduction in stress in response to additional force is facilitated partly by the shape of the bones, but also by the way bone of different strengths are arranged within the skull.&quot;<br /><br />The Komodo dragon grows to an average length of two to three metres and weighing around 70 kilograms. The reptile's unusual size is attributed to island gigantism, since there are no other carnivorous mammals to fill the niche on the islands where they live. As a result of their size, these lizards are apex predators, dominating the ecosystems in which they live. Although Komodo dragons eat mostly carrion, they will also hunt and ambush prey including invertebrates, birds, and mammals.<br /><br />Its saliva is frequently blood-tinged, because its teeth are almost completely covered by gingival tissue that is naturally lacerated during feeding. Discovered by Western scientists in 1910, the Komodo dragon's large size and fearsome reputation makes it a popular zoo exhibit. In the wild its total population is estimated at 4,000-5,000: its range has contracted due to human activities and it is listed as vulnerable by the IUCN.<br /><br />  </div>
        <br /><br />--------------------<br />
<div class='signature'><span style='font-family:Lizzard'><span style='font-size:25pt;line-height:100%'>T</span></span><span style='font-family:Gaze'><span style='font-size:13pt;line-height:100%'>he Awesome World Of Reptiles!</span></span><br /><img src='http://i14.photobucket.com/albums/a345/Instar/snake-1.gif' border='0' alt='user posted image' /><br /><img src='http://i14.photobucket.com/albums/a345/Instar/screenys/indiapython.gif' border='0' alt='user posted image' /><br /><span style='font-family:Simpson'><span style='font-size:14pt;line-height:100%'>Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake. <br />W. C. Fields</span></span><br /><br /><a href='http://inny.ipbfree.com/index.php?showtopic=1040' target='_blank'>My Gallery</a><br /><br /><a href='http://reptileplanet.wetpaint.com/' target='_blank'>Reptile Planet Wiki</a></div>
        <!-- THE POST -->
      </td>
    </tr>
    <tr>
      <td class='darkrow3' align='left'><b><span class='desc'>IP: [ ---------- ]</span></b></td>
      <td class='darkrow3' nowrap="nowrap" align='left'>
      
        <!-- PM / EMAIL / WWW / MSGR -->
      
        <div align='left' class='darkrow3' style='float:left;width:auto'>
        <a href="javascript:PopUp('http://inny.ipbfree.com/index.php?act=Profile&amp;CODE=showcard&amp;MID=1','AddressCard','470','300','0','1','1','1')" title='Show Contact Card'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_card.gif' border='0'  alt='Mini Profile' /></a><a href='http://inny.ipbfree.com/index.php?act=Msg&amp;CODE=04&amp;MID=1'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_pm.gif' border='0'  alt='PM' /></a><a href='http://inny.ipbfree.com/index.php?act=Mail&amp;CODE=00&amp;MID=1'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_email.gif' border='0'  alt='Email Poster' /></a>
        </div>
        
        <!-- REPORT / UP -->
         
        <div align='right'>
         <a href='javascript:scroll(0,0);'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/p_up.gif' alt='Top' border='0' /></a>
        </div>
      </td>
    </tr>
    </table>
    <div class='darkrow1' style='height:5px'><!-- --></div>
          
      <!--IBF.TOPIC_ACTIVE-->
      <div class="activeuserstrip" align="center">&laquo; <a href='http://inny.ipbfree.com/index.php?showtopic=1410&amp;view=old'>Next Oldest</a> | <strong><a href='http://inny.ipbfree.com/index.php?showforum=12'>The Library</a></strong> | <a href='http://inny.ipbfree.com/index.php?showtopic=1410&amp;view=new'>Next Newest</a> &raquo;</div>
</div>
 
<br />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
 <td align='left' width="20%" nowrap="nowrap"><a href="javascript:ShowHideAnimated('topic_open','topic_closed')" title="Open Topic Options"><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_options.gif' border='0'  alt='Topic Options' /></a></td>
 <td align='right' width="80%"><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=02&amp;f=12&amp;t=1410'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_reply.gif' border='0'  alt='Reply to this topic' /></a>	<!-- DEFAULT DIV -->
	<a href="javascript:ShowHideAnimated('qr_open','qr_closed');" title="Open Fast Reply Window" accesskey="f"><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_qr.gif' border='0'  alt='Fast Reply' /></a><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=00&amp;f=12' title='Start a new topic'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_new.gif' border='0'  alt='Start new topic' /></a><a href='http://inny.ipbfree.com/index.php?act=Post&amp;CODE=10&amp;f=12'><img src='http://static.1.ipbfree.com/style_images/ipbfree_v21/t_poll.gif' border='0'  alt='Start Poll' /></a></td>
</tr>
</table>

	<script type="text/javascript">
	<!--
	function emo_pop()
	{
	  window.open('index.php?act=legends&amp;CODE=emoticons&amp;s=','Legends','width=250,height=500,resizable=yes,scrollbars=yes'); 
	}
	//-->
	</script>
	<br />
	<div align='left' id='qr_open' style='display:none;z-index:2;'>
	   <form name='REPLIER' action="http://inny.ipbfree.com/index.php?" method='post'>
	   <input type='hidden' name='act' value='Post' />
	   <input type='hidden' name='CODE' value='03' />
	   <input type='hidden' name='f' value='12' />
	   <input type='hidden' name='t' value='1410' />
	   <input type='hidden' name='st' value='0' />
	   <input type='hidden' name='enabletrack' value='0' />
	   <input type='hidden' name='auth_key' value='6f4de284c7be3920d02d8b168d659b8b' />
	   <!-- TITLE DIV -->
	   <div class="tableborder">
	     <div class='maintitle'>»&nbsp;Fast Reply</div>
		 <div class="tablepad" align="center" id='ts_pc'>
			 <textarea cols='70' rows='8' name='Post' class='textinput' tabindex="1"></textarea>
			 <br /><br />
			 <a href='javascript:emo_pop();'>Show Smilies Pop Up Window</a> |
			 <input type='checkbox' name='enableemo' value='yes' class="checkbox" checked="checked" />&nbsp;Enable Smilies |
			 <input type='checkbox' name='enablesig' value='yes' class="checkbox" checked="checked" />&nbsp;Enable Signature
			 <br /><br />
			 <input type='submit' name='submit' value='Add Reply' class='forminput' tabindex="2" accesskey="s" />&nbsp;
			 <input type='submit' name='preview' value='More Options' class='forminput' />
			 &nbsp;&nbsp; <input type='button' name='qrc' onclick="ShowHideAnimated('qr_open','qr_close

If I just use the code below I have No issues at all. Works perfectly. Has to be the code!

<script type='text/javascript'>
<!--
function ResizeThem(){
maxheight=250;
maxwidth= 250;
imgs=document.getElementsByTagName("img");
for (p=0; p<imgs.length; p++) {
if (imgs[p].getAttribute("alt")=="user posted image") {
w=parseInt(imgs[p].width);
h=parseInt(imgs[p].height);
if (parseInt(imgs[p].width)>maxwidth) {
imgs[p].style.cursor="pointer";
imgs[p].setAttribute('title','Reduced Image - Click to see full size');
imgs[p].onclick=new Function("iw=window.open(this.src,'ImageViewer','resizable=1,scrollbars=1');iw.focus()");
imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height;
imgs[p].width=maxwidth;}
if (parseInt(imgs[p].height)>maxheight) {
imgs[p].style.cursor="pointer";
imgs[p].onclick=new
Function("iw=window.open(this.src,'ImageViewer','resizable=1,scrollbars=1');iw.focus()");
imgs[p].width=(maxheight/imgs[p].height)*imgs[p].width;
imgs[p].height=maxheight;}}}}
ResizeThem()
//-->
</script>

P.s The snake is all you will see without the code aaron, its a background. BTW its not a boa. :)

Ok, I managed to get the veiw page to display in firefox, but the image did not appear there, it remained blank with just the python background, so mozilla dosent like the code.

can I use two versions of the code? one for IE, one for mozilla, and how?

I want to change Tactics, I want to alter this code

<script type='text/javascript'>
<!--
function ResizeThem(){
maxheight=250;
maxwidth= 250;
imgs=document.getElementsByTagName("img");
for (p=0; p<imgs.length; p++) {
if (imgs[p].getAttribute("alt")=="user posted image") {
w=parseInt(imgs[p].width);
h=parseInt(imgs[p].height);
if (parseInt(imgs[p].width)>maxwidth) {
imgs[p].style.cursor="pointer";
imgs[p].setAttribute('title','Reduced Image - Click to see full size');
imgs[p].onclick=new Function("iw=window.open(this.src,'ImageViewer','resizable=1,scrollbars=1');iw.focus()");
imgs[p].height=(maxwidth/imgs[p].width)*imgs[p].height;
imgs[p].width=maxwidth;}
if (parseInt(imgs[p].height)>maxheight) {
imgs[p].style.cursor="pointer";
imgs[p].onclick=new
Function("iw=window.open(this.src,'ImageViewer','resizable=1,scrollbars=1');iw.focus()");
imgs[p].width=(maxheight/imgs[p].height)*imgs[p].width;
imgs[p].height=maxheight;}}}}
ResizeThem()
//-->
</script>

So that it still reduces the images, but instead of opening them in a new window, they expand (floating) in the same window instead, Using the Code below.
I need to assign the reduced images as "ImageExpander"

function ImageExpander(oThumb, sImgSrc)
{
    // store thumbnail image and overwrite its onclick handler.
    this.oThumb = oThumb;
    this.oThumb.expander = this;
    this.oThumb.onclick = function() { this.expander.expand(); }
    
    // record original size
    this.smallWidth = oThumb.offsetWidth;
    this.smallHeight = oThumb.offsetHeight; 
 
    this.bExpand = true;
    this.bTicks = false;
    
    // self organized list
    if ( !window.aImageExpanders )
    {
        window.aImageExpanders = new Array();
    }
    window.aImageExpanders.push(this);
 
    // create the full sized image.
    this.oImg = new Image();
    this.oImg.expander = this;
    this.oImg.onload = function(){this.expander.onload();}
    this.oImg.src = sImgSrc;
}
 
ImageExpander.prototype.onload = function()
{
    this.oDiv = document.createElement("div");
    document.body.appendChild(this.oDiv);
    this.oDiv.appendChild(this.oImg);
    this.oDiv.style.position = "absolute";
    this.oDiv.expander = this;
    this.oDiv.onclick = function() {this.expander.toggle();};
    this.oImg.title = "Click to reduce.";
    this.bigWidth = this.oImg.width;
    this.bigHeight = this.oImg.height;
    
    if ( this.bExpand )
    {
        this.expand();
    }
    else
    {
        this.oDiv.style.visibility = "hidden";
        this.oImg.style.visibility = "hidden";
    }
}
ImageExpander.prototype.toggle = function()
{
    this.bExpand = !this.bExpand;
    if ( this.bExpand )
    {
        for ( var i in window.aImageExpanders )
            if ( window.aImageExpanders[i] !== this )
                window.aImageExpanders[i].reduce();
    }
}
ImageExpander.prototype.expand = function()
{
    // set direction of expansion.
    this.bExpand = true;
 
    // set all other images to reduce
    for ( var i in window.aImageExpanders )
        if ( window.aImageExpanders[i] !== this )
            window.aImageExpanders[i].reduce();
 
    // if not loaded, don't continue just yet
    if ( !this.oDiv ) return;
    
    // hide the thumbnail
    this.oThumb.style.visibility = "hidden";
    
    // calculate initial dimensions
    this.x = this.oThumb.offsetLeft;
    this.y = this.oThumb.offsetTop;
    this.w = this.oThumb.clientWidth;
    this.h = this.oThumb.clientHeight;
    
    this.oDiv.style.left = this.x + "px";
    this.oDiv.style.top = this.y + "px";
    this.oImg.style.width = this.w + "px";
    this.oImg.style.height = this.h + "px";
    this.oDiv.style.visibility = "visible";
    this.oImg.style.visibility = "visible";
    
    // start the animation engine.
    if ( !this.bTicks )
    {
        this.bTicks = true;
        var pThis = this;
        window.setTimeout(function(){pThis.tick();},25);    
    }
}
ImageExpander.prototype.reduce = function()
{
    // set direction of expansion.
    this.bExpand = false;
}
ImageExpander.prototype.tick = function()
{
    // calculate screen dimensions
    var cw = document.body.clientWidth;
    var ch = document.body.clientHeight;
    var cx = document.body.scrollLeft + cw / 2;
    var cy = document.body.scrollTop + ch / 2;
 
    // calculate target
    var tw,th,tx,ty;
    if ( this.bExpand )
    {
        tw = this.bigWidth;
        th = this.bigHeight;
        if ( tw > cw )
        {
            th *= cw / tw;
            tw = cw;
        }   
        if ( th > ch )
        {
            tw *= ch / th;
            th = ch;
        }
        tx = cx - tw / 2;
        ty = cy - th / 2; 
    }
    else
    {
        tw = this.smallWidth;
        th = this.smallHeight;
        tx = this.oThumb.offsetLeft;
        ty = this.oThumb.offsetTop;
    }   
    // move 5% closer to target
    var nHit = 0;
    var fMove = function(n,tn) 
    {
        var dn = tn - n;
        if ( Math.abs(dn) < 3 )
        {
            nHit++;
            return tn;
        }
        else
        {
            return n + dn / 10;
        }
    }
    this.x = fMove(this.x, tx);
    this.y = fMove(this.y, ty);
    this.w = fMove(this.w, tw);
    this.h = fMove(this.h, th);
    
    this.oDiv.style.left = this.x + "px";
    this.oDiv.style.top = this.y + "px";
    this.oImg.style.width = this.w + "px";
    this.oImg.style.height = this.h + "px";
 
    // if reducing and size/position is a match, stop the tick  
    if ( !this.bExpand && (nHit == 4) )
    {
        this.oImg.style.visibility = "hidden";
        this.oDiv.style.visibility = "hidden";
        this.oThumb.style.visibility = "visible";
 
        this.bTicks = false;
    }
    
    if ( this.bTicks )
    {
        var pThis = this;
        window.setTimeout(function(){pThis.tick();},25);
    }
}

normally you would write a thumbnail for this code like so

a href="spike.jpg" onclick="this.href = 'javascript:void(0);';">
        <img src="spike_thumb.jpg" title="click to expand." style="float:right;" onclick="new ImageExpander(this, 'spike.jpg');">
    </a>

Example of the code above here

http://www.webreference.com/programming/javascript/gr/column8/ImageView.htm

I know I need to Alter this line in the first code both times

imgs[p].onclick=new
Function("iw=window.open(this.src,'ImageViewer','resizable=1  ,scrollbars=1');iw.focus()");

but im not sure how.

How can parse an img url as query string to insert an image into a window on another domain?

Sorry, I have confused this topic by suggesting an entirely different code.
It is the first code i posted that I wish to use, parsing the image url to a custom page on a new server.
please disregard post #11

The first code opens a new window, I want to use a custom window on another domain.

Bump! does anyone understand me?

can I rework the code to load the full size image in a hidden floating div above the page instead?
just add a close button to the div?

How can parse an img url as query string to insert an image into a window on another domain?

You can't access the DOM of a window on another domain opened by your domain. This is a restriction that prevents XSS (cross/same domain policy)

If you own the other domain, then you can have PHP display the image by crafting a URL that tells it the image to display and dimensions.

can I rework the code to load the full size image in a hidden floating div above the page instead?
just add a close button to the div?

Bump!

Solved it myself!

Would be nice if you can share your solution with us...

It would have been nice If folks were more helpful also Peter. If anyone really wants to know they can Email me. Its a rare occasion this board is helpful at all.
You describe clearly and exactly what your trying to do and show your code, and you either get
a: no response
b: A flurry of pointless questions asking what you've already explained three times
or
c: a vague response riddled with tecknical jargon which if the person understood it, they wouldnt need to post here in the first place!
sorry, 1 out of 5 stars.

Well.. alot of the questions you've asked in this thread have quite complex answers, but those answers are very easy to find/work out yourself.

Can you serve two pages to two different browsers? Yes. Can you put the image in a div popup? Yes.

Personally, I'll give hints on how to do things, and if it's non-intuitive and can be explained with a code snippet, I will give that code snippet. I won't however write out a large amount of code that demonstrates something that's technically very 'simple', especially not when there's a multitude of examples of these very things easily available on the web.

You're evidently able to work this stuff out for yourself if you give it a bit of thought.

Thats the kind of response im talking about Matt. Dont you think I scoured the web to learn how? dont you think, that If I could so easily work it out I would already have done so.
Ive spent two weeks and many many hours trying various things to make this work, I didnt post here for nothing!
Further more it was a member heres suggestion, (typically overcomplex overkill) that led me down the wrong path to a solution in the first place or I may have indeed 'worked it out myself a bloody week ago!
I did not simply ask to have code written, I asked for help with what I had written, showed my code and explained over and over till I was blue in the f****ing face mate!
If your such a freaking expert then so called 'simple help' is not hard to give.
Its your arrogant 'make them learn' attitude that frustrates folk who want to learn but arnt getting anywhere!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.