var wh = 2500;
var wh1 = 510;
function RateOpen(URL)
{
var PopUrl;
PopUrl = window.open(URL, "Rate","Top= 200, Height=330, width=530, scrollbars=no");
if  (PopUrl.focus)
PopUrl.focus();
return;
}
function ForecastOpen(URL)
{
var PopUrl;
PopUrl = window.open(URL, "ForeCast","Top= 200, Height=190, width=410, scrollbars=no");
if  (PopUrl.focus)
PopUrl.focus();
return;
}
function LocalPrice(URL)
{
var PopUrl;
PopUrl = window.open(URL, "LocalPrice"," Top = 200,Height=300, width=600, scrollbars=yes");
if  (PopUrl.focus) 
PopUrl.focus();
return;
}
function GlobalPrice(URL)
{
var PopUrl;
PopUrl = window.open(URL, "GlobalPrice"," Top = 200,Height=300, width=600, scrollbars=yes");
if  (PopUrl.focus) 
PopUrl.focus();
return;
}
function THXKTSVN(URL)
{
var PopUrl;
PopUrl = window.open(URL, "THXKTSVN"," Top = 200,Height=300, width=600, scrollbars=yes");
if  (PopUrl.focus) 
PopUrl.focus();
return;
}
function  DNXKTSVN(URL)
{
var PopUrl;
PopUrl = window.open(URL, "DNXKTSVN"," Top = 200,Height=300, width=530, scrollbars=yes");
if  (PopUrl.focus) 
PopUrl.focus();
return;
}
function OpenBook(pageName)
{
if(pageName == "")
return;
window.location.href = "/vasep/book.nsf/38CAFA2747C58DB447256A33001481E3/" + pageName + "?OpenDocument";
}
function OpenTapChi(pageName)
{
if(pageName == "")
return;
window.location.href = "/vasep/book.nsf/A256193CA687911D47256A3300211E0D/" + pageName + "?OpenDocument";
}
<!--chay chu-->
var total=true; 
function snapIn(jumpSpaces,position) { 
              var msg = "Welcome to WWW.VASEP.COM.VN"; 
              if (!total){ 
              total=true;
              window.setTimeout("snapIn(100,0)",10);}
              else{
              var out = ""; 
              for (var i=0; i<position; i++) { out += msg.charAt(i) } 
              for (i=1;i<jumpSpaces;i++) { out += " " } 
              out += msg.charAt(position); 
              window.status = out; 
              if (jumpSpaces <= 1) { 
                 position++; 
                 if (msg.charAt(position) == ' ') { 
                 position++ } 
                 jumpSpaces = 100-position; 
              } 
              else if (jumpSpaces >  3) { 
                      jumpSpaces *= .09 
                   } else { jumpSpaces-- } 
              if (position != msg.length) { 
                 var cmd = "snapIn(" + jumpSpaces + "," + position + ")"; 
                 window.setTimeout(cmd,1);
              }else window.setTimeout("snapIn(50,0)",1000);
              }  
              return true 
           }

function show(text)
{
       total=false;
       window.status=text; 
}
function VasepCopyright()
{
Document.writeln("<div align=center><FONT face=Verdana color=0018FF size=1>");
document.writeln("B&#7843;n quy&#7873;n c&#7911;a Hi&#7879;p h&#7897;i Ch&#7871; bi&#7871;n v&#224; Xu&#7845;t kh&#7849;u Th&#7911;y s&#7843;n Vi&#7879;t Nam<BR>");
document.writeln("10 Nguy&#7877;n C&#244;ng Hoan Tel: (84) 4 7715055, Fax: (84) 4 7715084, E-mail: <A href=mailto:vasep@hn.vnn.vn>vasep@hn.vnn.vn<BR></a>");
document.writeln("<A href=/vasep/Comments.nsf/GopY?OpenForm TITLE=Contact Us>Li&#234;n h&#7879; v&#7899;i ch&#250;ng t&#244;i</A></Font></DIV>");
document.writeln("<div align=center><font color=red size=1>Y&#234;u c&#7847;u m&#7885;i t&#7893; ch&#7913;c khi s&#7917; d&#7909;ng th&#244;ng tin c&#7911;a VASEP.COM.VN ph&#7843;i ghi r&#245; ngu&#7891;n tin</div></font>");
}
function UnicodeGet(iStr)
{
	for (i=0, oStr=''; i < iStr.length; )
	{
		if (iStr.charCodeAt(i)==38)
		{
			if (iStr.charCodeAt(i + 1)==35)
			{
				p=iStr.indexOf(';', i  + 2);
				if (p!=-1)
				{
					if (p - i <= 7)
					{
						if (isFinite(iStr.substr(i + 2, p - i - 2)))
						{
							oStr = oStr.concat(String.fromCharCode(iStr.substr(i + 2, p - i - 2)));
							i = p + 1;
							continue;
						}
					}
				}
			}

		}
	
		oStr=oStr.concat(iStr.charAt(i));
		i++;
	}
	
	return oStr;
}
function UnicodeSet(iStr)
{
	for (i=0, oStr=''; i < iStr.length; i++)
	{
		j=iStr.charCodeAt(i);

		if (j < 32 || j > 127 || j==34 || j==39)
		{
			oStr=oStr.concat('&#').concat(j).concat(';');
		}
		else
		{
			oStr=oStr.concat(iStr.charAt(i));
		}
	}

	return oStr;
}
var scrmsg = "               Welcome to WWW.VASEP.COM.VN -- Copyright(c) by 2002. Information Online, DialyNews, WeeklyNews, Magazine, Index prices, Statistic of Seafood Export, B2B, Show and Fair, Main Events, Adv & service hosting - design websites, ICP & ISP";
var scrspacer = " ";
var scrpos = 0;
function ScrollMessage()
{
	window.status = scrmsg.substring(scrpos, scrmsg.length) + scrspacer +
	scrmsg.substring(0,scrpos);
	scrpos++;
	if (scrpos > scrmsg.length) scrpos = 0;
		window.setTimeout("ScrollMessage()", 150);
}
function show5(){
 if (!document.layers&&!document.all)
 return
 var Digital=new Date()
 var hours=Digital.getHours()
 var minutes=Digital.getMinutes()
 var seconds=Digital.getSeconds()
 var dn="AM"
 if (hours>12){
 dn="PM"
 hours=hours-12
 }
 if (hours==0)
 hours=12
 if (minutes<=9)
 minutes="0"+minutes
 if (seconds<=9)
 seconds="0"+seconds
//change font size here to your desire
myclock="<div class=MemberList><font color='white'><b>Time: </b>"+hours+":"+minutes+":" +seconds+" "+dn + "</font></div>"
if (document.layers){
document.layers.liveclock.document.write(myclock)
document.layers.liveclock.document.close()
}
else if (document.all)
liveclock.innerHTML=myclock
setTimeout("show5()",1000)
}
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.onclick = function(){ShowStatus()}
document.onblur = function(){ShowStatus()}
document.onmousemove = function(){ShowStatus()}
//document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
function ShowStatus()
{
 status ='VASEP - VIETNAM ASSOCIATION OF SEAFOOD EXPORTERS AND PRODUCERS'
}
function OpenTinVan() 
{
  TinVanWin= open("/images/vDailynews/NoiDungChiTiet.html", "TinVan", "width=500,height=400,status=no,toolbar=no,menubar=no,top=0,left=0");
}
function OpenWin(D,W,H,T,L,ST,TB,MB,SC)
{
OW= Open(D,"_blank","weight = " + W + ", Height= " + H + ", Top= " + T + ", Left= " + L + ", Status= " + ST + ", Toolbar= " + TB + ", Menubar= " + MB + ", Scrollbars= " + SC + "");
}
