Code
<head>
<script type="text/javascript">
$(document).ready(function(){
$("a[@href^=http:]").each(function(){
if(this.host!="ваша ссылка"){
$(this).attr("target","_blank").attr("href",function() { return '/away.htm?' + this.href });
}
})
});
</script>
</head>
Code
<meta name="robots" content="noindex,nofollow"><html>
<head></head>
<body style="margin:0px; padding: 0px; background-color: #ffffff;">
<script type="text/javascript">
url=self.location.search;
if (url.charAt(0)=='?') {
location.href="/away.htm";
} else {
url=document.referrer;
url=url.substring(url.indexOf('?')+1, url.length);
document.write('<iframe src="'+url+'" frameborder="0" width="100%"
height="100%" style="border: 0; margin:0;"></iframe>')
}
</script>
</body>
</html>