// CHECK IF PAGE IS ENFRAMED ------------------------------------------------------------------------------------------

var pathname = location.pathname.toLowerCase();

if(!parent.frmContent && pathname!='/index.php' && pathname!='/')
{
  document.write("<form name=\"indexForm\" action=\"/\" method=\"post\">");
  document.write("<input type=\"hidden\" name=\"url\" value=\"" + encodeURI(location.href) + "\"/>");
  document.write("</form>");

  document.indexForm.submit();
}

// CHANGE IMAGE TO GIVEN SRC-URL --------------------------------------------------------------------------------------

function changeImage(img,src)
{
  img.src = src;
}

