On a part of my website you click on a link and I started out by using a script for inline frame webpage that I got from Rik Comery in [URL=http://www.webdeveloper.com/forum/showthread.php?t=90289]this[url]http://www.freewebs.com/phildog/CSP/Pictures.html
[CODE]function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split(“&”);
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split(“=”);
if (pair[0] == variable) {
return pair[1];
}
}
}
function onbodyload(){
if(getQueryVariable(“page”)==”” || !getQueryVariable(“page”)){
}else{
document.getElementTagName(“img”).src = getQueryVariable(“page”)
}
}