hvis document.location ...
Hvad går der galt her?<iframe name="indreramme" border="0" frameborder="0" framespacing="0" noresize="noresize" scrolling="auto" src="" width=759 height=370></iframe>
<script>
x=document.location;
if(x.indexOf('.dk')!=-1) {
indreramme.document.location="http://www.mysitedk/cbo/index.php";
} else if (x.indexOf('.com')!=-1) {
indreramme.document.location="http://www.mysitecom/cbo/index.php";
} else if (x.indexOf('.org')!=-1) {
indreramme.document.location="http://www.mysiteorg/cbo/index.php";
} else {
indreramme.document.location="http://www.mysitedk/cbo/index.php";
}
</script>
</body>
