function writeJS(){
var str='';
str+='<style type="text\/css">';
str+='form, input, div {';
str+='	margin:0px;';
str+='	padding:0px;';
str+='}';
str+='form.vd_searchForm {';
str+='	display:block;';
str+='	margin-left:0px;';
str+='	margin-top:0px;';
str+='	margin-right:0px;';
str+='	height:24px;';
str+='	min-width:100px;';
str+='	width:100%;';
str+='	background:url(http:\/\/js.vdict.com\/searchform\/widgetInputL2.png) no-repeat top left !important;';
str+='}';
str+='div.vd_inputHolder {';
str+='	top:0px;';
str+='	height:24px;';
str+='	margin-left:13px;';
str+='	margin-right:0px;';
str+='	background:url(http:\/\/js.vdict.com\/searchform\/widgetInputBB.png);';
str+='	zoom:1;';
str+='	float:left;';
str+='}';
str+='input#vd_searchButton {';
str+='	margin:0px;';
str+='	display:block;';
str+='	width:29px;';
str+='	height:24px;';
str+='	margin-right:0px;';
str+='	outline:none;';
str+='	cursor:pointer;';
str+='}';
str+='div.vd_buttonHolder {';
str+='	float:left;';
str+='	height:24px;';
str+='	zoom:1;';
str+='}';
str+='input#vd_searchInput {';
str+='	display:block;';
str+='	top:0px;';
str+='	border:none;';
str+='	font-size:16px;';
str+='	line-height:20px;';
str+='	padding:2px 0px 1px;';
str+='	background-color:transparent;';
str+='	vertical-align:middle;';
str+='	width:' + vd_boxwidthless60 + 'px;';
str+='}';
str+='input#vd_searchInput:focus,';
str+='input#vd_searchInput:active {';
str+='	outline:none;';
str+='}';
str+='input#vd_searchInput.focused {';
str+='	background-image:none !important;';
str+='}';
str+='input#vd_searchInput.blurred {';
str+='	background:url(http:\/\/js.vdict.com\/searchform\/vdictsearch.png) no-repeat;';
str+='}';
str+='vd_hidden {';
str+='display:none;';
str+='}';
str+='#vd_cssdropdown, #vd_cssdropdown ul {';
str+='padding: 0;';
str+='margin: 0;';
str+='list-style: none;';
str+='}';
str+='#vd_cssdropdown li {';
str+='float: left;';
str+='position: relative;';
str+='}';
str+='.vd_subuls{';
str+='display: none;';
str+='position: absolute;';
str+='margin-top: 5px;';
str+='right: 0px;';
str+='border: 1px solid #333333;';
str+='background-color: #FFFFFF;';
str+='font-family:Arial, Helvetica, sans-serif;';
str+='font-size: 12px;';
str+='width: 220px;';
str+='}';
str+='.vd_subuls li{';
str+='width: 215px;';
str+='padding-left: 5px;';
str+='padding-bottom: 2px;';
str+='padding-top: 2px;';
str+='padding-right: 0px;';
str+='}';
str+='.vd_subuls li:hover, .vd_subuls li.over{';
str+='background-color:#CCFF99;';
str+='}';
str+='.vd_subuls li a, .vd_subuls li a:hover, .vd_subuls li a:visited{';
str+='text-decoration: none;';
str+='color:#0000FF;';
str+='}';
str+='.vd_subuls li a:hover{';
str+='background-color:#CCFF99';
str+='}';
str+='#vd_cssdropdown li>ul { \/* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left *\/';
str+='top: auto;';
str+='left: auto;';
str+='}';
str+='#vd_cssdropdown li:hover ul, li.over ul { \/* lists nested under hovered list items *\/';
str+='display: block;';
str+='}';
str+='#vd_dictionaryholder {';
str+='float:right;';
str+='margin-left: 10px;';
str+='margin-right: 20px;';
str+='clear:both;';
str+='}';
str+='#vd_wrapper{';
str+='width: ' + vd_boxwidth + 'px;';
str+='margin:0;';
str+='padding:0;';
str+='display:block;';
str+='}';
str+='#vd_dictname, #vd_downarrow{';
str+='font-family: Verdana, Arial, Helvetica, sans-serif;';
str+='font-size:11px;';
str+='float:left; ' + vd_dictcolor ;
str+='}';
str+='<\/style>';
str+='<br \/>';
str+='<div id="vd_wrapper" >';
str+='  <form name="vd_searchForm" id="vd_searchForm" class="vd_searchForm" action="http:\/\/vdict.com\/" target="_blank" accept-charset="UTF-8">';
str+='    <div class="vd_hidden">';
str+='      <input type="hidden" name="dict" id="dict" value="1" \/>';

str+='    <\/div>';
str+='    <div class="vd_inputHolder">';
str+='      <input name="word" id="vd_searchInput" class="blurred" type="text">';
str+='    <\/div>';

str+='    <div class="vd_buttonHolder">';
str+='      <input src="http://js.vdict.com/searchform/widgetInputRU.png" id="vd_searchButton" value="Search" class="vd_searchButton" type="image">';
str+='    <\/div>';
str+='    <br \/>';
str+='    <div id="vd_dictionaryholder">';
str+='      <ul id="vd_cssdropdown"><div id="vd_dictname">English Vietnamese dictionary<\/div>';
str+='        <li class="mainitems"><div id="vd_downarrow"> &#9660;<\/div>';
str+='          <ul class="vd_subuls"  id="vd_subuls">';
str+='            <li>Click to select dictionary...<\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'English Vietnamese dictionary\'; getElementById(\'dict\').value=\'1\';"><a href="#">English Vietnamese dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'Vietnamese English dictionary\'; getElementById(\'dict\').value=\'2\';"><a href="#">Vietnamese English dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'Vietnamese Vietnamese dictionary\'; getElementById(\'dict\').value=\'3\';"><a href="#">Vietnamese Vietnamese dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'Vietnamese French dictionary\'; getElementById(\'dict\').value=\'4\';"><a href="#">Vietnamese French dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'French Vietnamese dictionary\'; getElementById(\'dict\').value=\'5\';"><a href="#">French Vietnamese dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'Computing dictionary\'; getElementById(\'dict\').value=\'6\';"><a href="#">Computing dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'English English dictionary\'; getElementById(\'dict\').value=\'7\';"><a href="#">English English dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'Chinese Vietnamese dictionary\'; getElementById(\'dict\').value=\'8\';"><a href="#">Chinese Vietnamese dictionary<\/a><\/li>';
str+='            <li onClick="getElementById(\'vd_dictname\').innerHTML=\'Russian Vietnamese dictionary\'; getElementById(\'dict\').value=\'9\';"><a href="#">Russian Vietnamese dictionary<\/a><\/li>';
str+='          <\/ul>';
str+='        <\/li>';
str+='      <\/ul>';
str+='    <\/div>';
str+='  <\/form>';
str+='<\/div>';
str+='<br \/>';
document.write(str);
}
writeJS();

