unix_timestamp = function() { return parseInt(new Date().getTime().toString().substring(0, 10)) } function SetCookie(pv_c_name,pv_c_value,pv_c_expiredays) { var expiredate= new Date(); expiredate.setDate(expiredate.getDate()+pv_c_expiredays); document.cookie=pv_c_name+"="+escape(pv_c_value)+";domain=.phanvien.com;path=/;expires="+expiredate.toGMTString(); document.cookie=pv_c_name+"="+escape(pv_c_value)+";domain=phanvien.com;path=/;expires="+expiredate.toGMTString(); } function SetCookie2(pv_c_name,pv_c_value,pv_c_expirehours) { var expiredate= new Date(); expiredate.setDate(expiredate.getHours()+pv_c_expirehours); document.cookie=pv_c_name+"="+escape(pv_c_value)+";expires="+expiredate.toGMTString(); } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function GetXmlHttpObject() { var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } function AddToFavorite(url,title) { //window.location="/addfavorite.php?url="+url+"&title="+title; return false; } function SendToFriend(url,title) { window.location="http://phanvien.com/send_friend.php?url="+encodeURIComponent(url)+"&title="+encodeURIComponent(title); } function MakeDefaultHomePage(src) { try { document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage('http://phanvien.com'); } catch(e) { window.sidebar.addPanel(document.title, document.location,""); } } function BookmarkThisSite() { try { window.external.AddFavorite(location.href, document.title); } catch(e) { window.sidebar.addPanel(document.title, document.location,""); } } function CheckSubmit() { if(document.getElementById("FromName").value.length<3) { alert("Bạn cần nhập tên thật của bạn trước khi gởi thông tin đi"); document.getElementById("FromName").focus(); return false; } else if(document.getElementById("FromEmail").value.length<6) { alert("Email của bạn không hợp lệ"); document.getElementById("FromEmail").focus(); return false; } else if(document.getElementById("ToName").value.length<3) { alert("Bạn cần nhập tên người nhận!"); document.getElementById("ToName").focus(); return false; } else if(document.getElementById("ToEmail").value.length<6) { alert("Email của người nhận không hợp lệ"); document.getElementById("ToEmail").focus(); return false; } else if(document.getElementById("Subject").value.length<6) { alert("Bạn cần nhập tựa đề!"); document.getElementById("Subject").focus(); return false; } else if(document.getElementById("Content").value.length<6) { alert("Bạn cần nhập nội dung trước khi gởi!"); document.getElementById("Content").focus(); return false; } else { return true; } } function adsense_init () { if (document.all) { //ie var el = document.getElementsByTagName("iframe"); for(var i = 0; i < el.length; i++) { if(el[i].src.indexOf('googlesyndication.com') > -1) { adUnit = i+1; browser = "IE"; adunitsize = el[i].width + "x" + el[i].height; el[i].onfocus = trackAdsense; } } } else { // firefox window.addEventListener('beforeunload', doPageExit, false); window.addEventListener('mousemove', getMouse, true); } } //for firefox var px; var py; var adUnit = ""; var browser = ""; var adunitsize = ""; function getMouse(e) { px=e.pageX; py=e.clientY; } function findY(obj) { var y = 0; while (obj) { y += obj.offsetTop; obj = obj.offsetParent; } return(y); } function findX(obj) { var x = 0; while (obj) { x += obj.offsetLeft; obj = obj.offsetParent; } return(x); } function doPageExit(e) { ad = document.getElementsByTagName("iframe"); for (i=0; i (adLeft - 10) && px < (parseInt(adLeft) + parseInt(ad[i].width) + 15)); var inFrameY = (py > (adTop - 10) && py < (parseInt(adTop) + parseInt(ad[i].height) + 10)); if (inFrameY && inFrameX) { adUnit = i+1; browser = "Firefox"; adunitsize = ad[i].width + "x" + ad[i].height; trackAdsense(); } } } //end for firefox function trackAdsense() { var path = 'http://phanvien.com/adsense_img.php'; // can't use encodeURIComponent everywhere. escape() should work for this scenario path += "?from_title="+escape(document.title); path += "&from="+escape(self.location); path += "&unit="+escape(adUnit); path += "&browser="+escape(browser); path += "&adunitsize="+escape(adunitsize); path +='&disp=' + escape(document.location.href); path +='&targ=' + escape(window.status); path +='&src=' + escape(window.location.href); var data = false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { try { data = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { data = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { data = false; } } } @end @*/ if (!data && typeof XMLHttpRequest!='undefined') data = new XMLHttpRequest(); if (data) data.open("GET", path, false); data.send(null); } function LoadPortalStats() { } function ShowWelcome(i) { if(i) { document.getElementById("DivDisplayWelcome2").style.display="none"; document.getElementById("DivDisplayWelcome1").style.display=""; } else { document.getElementById("DivDisplayWelcome2").style.display=""; document.getElementById("DivDisplayWelcome1").style.display="none"; } } var BodyWidth=document.body.clientWidth; var BodyHeight=document.body.clientHeight; var StartPointTop=-200; var StartPointLeft=Math.ceil(BodyWidth/2)-150; var EndPointTop=300; var EndPointLeft=StartPointLeft; var DisplayWelcome=false; if(document.getElementById("DivDisplayWelcome")) { DisplayWelcome=true; document.getElementById("DivDisplayWelcome").style.top=StartPointTop+'px'; document.getElementById("DivDisplayWelcome").style.left=StartPointLeft+'px'; document.getElementById("DivDisplayWelcome").innerHTML='
Chào mừng bạn đến với PhanVien.Com
Chào mừng bạn đến với cổng thông tin điện tử Việt Nam. Tại đây bạn có thể tìm thấy những thông tin hữu ích về công nghệ, khoa học kỹ thuật, kiến thức sức khỏe, thông tin giải trí, thư giãn ...

Để tham gia trao đổi và thảo luận cùng các thành viên khác bạn cần đăng nhập vào hệ thống, nếu bạn chưa có tài khoản hãy đăng ký ở đây! Nhanh chóng và hoàn toàn miễn phí!

Đóng cửa sổ

'; //alert(document.getElementById("DivDisplayWelcome").style.top); document.getElementsByTagName("body")[0].onload=ShowWelcome; } function ShowWelcome() { document.getElementById("DivDisplayWelcome").style.display=""; setInterval(MoveWelcome,5); } function CloseWelcome() { document.getElementById("DivDisplayWelcome").style.display="none"; clearInterval(MoveWelcome); } function MoveWelcome() { if(StartPointTop<200) { if (document.layers) document.DivDisplayWelcome.top=(++StartPointTop)+'px'; else if (document.all) document.all.DivDisplayWelcome.style.posTop=(++StartPointTop); else document.getElementById("DivDisplayWelcome").style.top=(++StartPointTop)+'px'; } else { clearInterval(MoveWelcome); } } //AddOnloadFunction(LoadPortalStats); //AddOnloadFunction(UnLoading); function DisplayImg(src) { document.write('PhanVien.Com
'); } var t=document.getElementsByTagName("body"); t[0].onclick=SetHomeCookie; function SetHomeCookie() { var d=new Date(); var NowSetTime=getCookie("SetHomeCookieNumTimes"); if((NowSetTime<1) || (NowSetTime>99)) NowSetTime=0; if(NowSetTime==1) { MakeHomePage(); SetCookie("SetHomeCookieNumTimes",++NowSetTime,630720000); } SetCookie("SetHomeCookieTime",unix_timestamp(),630720000); } function MakeHomePage() { try { document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage('http://phanvien.com'); } catch(e) { //window.sidebar.addPanel(document.title, document.location,""); return false; } } //Refresh page cache document.write(''); if(document.getElementById("SpanRefreshCache")) document.getElementById("SpanRefreshCache").onclick=function() { if(document.getElementById("FormRefreshCache")) document.getElementById("FormRefreshCache").submit(); } var showAds=0; showAds=0 if(showAds) document.write('
'); function ShowAds() { }

Bán máy tính cấu hình mạnh!

Intel™ Core®2 Duo 3.0GHz
Memory: 2GB, DDR2 Memory
Display Adapter: ATI ES1000
Hard Drive: 2x320GB= 640GB Use RAID System
OS: Windows Server 2003
CD Rewrite 52/32X ASUS
2 Network Adapter:
+ Intel(R) Pro/1000 MT Network Connection
+ Intel(R) Pro/1000 PM Network Connection

Chỉ có 10 triệu đồng. Xem thêm thông tin

Xin liên hệ: 0906 0909 44 (Gặp Khoa) (Close)