<script language='JavaScript' type='text/javascript' src='http://www.tafrihi.com/moharam/moharam2.js'></script>
// JavaScript Document
res = "<div style=\" z-index:1000; position:absolute; right:0px; top:0px; border-width:0px; \">"
res += "<img src=\"http://www.tafrihi.com/logo/moharram2.gif\" width=\"170\" height=\"172\" "
res += "border=\"0\" usemap=\"#gggg2\" /><map name=\"gggg2\" id=\"gggg2\"> "
res += "<area shape=\"poly\" alt=\"محرم و صفر 86\" coords=\"1,0,59,0,169,110,169,169\" "
res += "href=\"http://www.tafrihi.com/moharam\" target=\"_blank\" /></map></div>"
document.write(res);
من براي سايتم كه اينطوري كردم
اين رو تو كد html گذاشتم بعد body
کد:<script language='JavaScript' type='text/javascript' src='http://www.tafrihi.com/moharam/moharam2.js'></script>
و اون فايل .js هم تو notpad اين رو بگذار وsave كن
کد:// JavaScript Document res = "<div style=\" z-index:1000; position:absolute; right:0px; top:0px; border-width:0px; \">" res += "<img src=\"http://www.tafrihi.com/logo/moharram2.gif\" width=\"170\" height=\"172\" " res += "border=\"0\" usemap=\"#gggg2\" /><map name=\"gggg2\" id=\"gggg2\"> " res += "<area shape=\"poly\" alt=\"محرم و صفر 86\" coords=\"1,0,59,0,169,110,169,169\" " res += "href=\"http://www.tafrihi.com/moharam\" target=\"_blank\" /></map></div>" document.write(res);