Here is my document.write function which is not working. Please tell me and help in resolving the issues. I want to place this "document.write" in one single .js file and include that in all my html pages. But at first "document.write" is not working. :( thanks
document.write("
<table><td><img src=allpages.png style=width: 80%;></img><br>
<select name='Archive' value='Archive'style=' background-color: black;
padding: 3px; margin: 0px; margin-top: 5px; border-radius: 10px;
box-shadow: 0px 3px 0px #CCC, 0px -1px #FFF inset;
color: yellow; border: medium none;
outline: medium none; text-align: right;
display: inline-block; width: 80%;
cursor: pointer; '>
<option onclick=javascript:location.href=index.html><a href='#'>صفحہ اول</a></option>
<option onclick=javascript:location.href=2.html><a href='2.html'>دوسرا صفحہ</a></option>
<option onclick=javascript:location.href=3.html>تیسرا صفحہ</option>
<option onclick=javascript:location.href=4.html>چوتھا صفحہ</option>
</select></td>
<td><img src=allnewspapers.png style= 'width: 80%;'></img><br>
<select name=Archive value=Archive
style='background-color: black;
padding: 3px; margin: 0px; margin-top: 5px;
-moz-border-radius: 4px;
border-radius: 10px;
box-shadow: 0px 3px 0px #CCC, 0px -1px #FFF inset;
color: yellow; border: medium none;
outline: medium none; text-align: right;
display: inline-block; width: 80%;
cursor: pointer;'>
<option>جنوری 2015</option>
<option>فروری 2015</option>
</select></td></table>");