\nCopyright \u00a9 1994 - %%current_year%% \nEBM America LLC. & EBM Asia Sdn. Bhd. - All Rights Reserved. \n<\/span> | <\/a> <\/a><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>"},"AE":{"header":" <\/p>","footer":"
\n\n\n\n \n\nCopyright \u00a9 1994 - %%current_year%% \nEBM America LLC. & EBM Asia Sdn. Bhd. - All Rights Reserved. \n<\/span> | <\/a> <\/a><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>"}};
/*
Copyright (c) 2006, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 0.12.2
*/
if(typeof YAHOO=="undefined"){var YAHOO={};}
YAHOO.namespace=function(){var a=arguments,o=null,i,j,d;for(i=0;i-1),isSafari=(ua.indexOf('safari')>-1),isGecko=(!isOpera&&!isSafari&&ua.indexOf('gecko')>-1),isIE=(!isOpera&&ua.indexOf('msie')>-1);var patterns={HYPHEN:/(-[a-z])/i};var toCamel=function(property){if(!patterns.HYPHEN.test(property)){return property;}
if(propertyCache[property]){return propertyCache[property];}
while(patterns.HYPHEN.exec(property)){property=property.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase());}
propertyCache[property]=property;return property;};if(document.defaultView&&document.defaultView.getComputedStyle){getStyle=function(el,property){var value=null;var computed=document.defaultView.getComputedStyle(el,'');if(computed){value=computed[toCamel(property)];}
return el.style[property]||value;};}else if(document.documentElement.currentStyle&&isIE){getStyle=function(el,property){switch(toCamel(property)){case'opacity':var val=100;try{val=el.filters['DXImageTransform.Microsoft.Alpha'].opacity;}catch(e){try{val=el.filters('alpha').opacity;}catch(e){}}
return val/100;break;default:var value=el.currentStyle?el.currentStyle[property]:null;return(el.style[property]||value);}};}else{getStyle=function(el,property){return el.style[property];};}
if(isIE){setStyle=function(el,property,val){switch(property){case'opacity':if(typeof el.style.filter=='string'){el.style.filter='alpha(opacity='+val*100+')';if(!el.currentStyle||!el.currentStyle.hasLayout){el.style.zoom=1;}}
break;default:el.style[property]=val;}};}else{setStyle=function(el,property,val){el.style[property]=val;};}
YAHOO.util.Dom={get:function(el){if(!el){return null;}
if(typeof el!='string'&&!(el instanceof Array)){return el;}
if(typeof el=='string'){return document.getElementById(el);}
else{var collection=[];for(var i=0,len=el.length;i=this.left&®ion.right<=this.right&®ion.top>=this.top&®ion.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(region){var t=Math.max(this.top,region.top);var r=Math.min(this.right,region.right);var b=Math.min(this.bottom,region.bottom);var l=Math.max(this.left,region.left);if(b>=t&&r>=l){return new YAHOO.util.Region(t,r,b,l);}else{return null;}};YAHOO.util.Region.prototype.union=function(region){var t=Math.min(this.top,region.top);var r=Math.max(this.right,region.right);var b=Math.max(this.bottom,region.bottom);var l=Math.min(this.left,region.left);return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+"}");};YAHOO.util.Region.getRegion=function(el){var p=YAHOO.util.Dom.getXY(el);var t=p[1];var r=p[0]+el.offsetWidth;var b=p[1]+el.offsetHeight;var l=p[0];return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Point=function(x,y){if(x instanceof Array){y=x[1];x=x[0];}
this.x=this.right=this.left=this[0]=x;this.y=this.top=this.bottom=this[1]=y;};YAHOO.util.Point.prototype=new YAHOO.util.Region();
YD = YAHOO.util.Dom;
// $Id: cool_selector.js,v 1.5 2006/06/13 12:24:13 a Exp $
function replace_select_by_cool( select_obj) {
var top_table = document.createElement( "table");
top_table.id = select_obj.id;
var tr = document.createElement( "tr");
tr.className = "cool_selector";
top_table.appendChild( tr);
var td1 = document.createElement( "td");
td1.style.width = document.all?"":"100%";
tr.appendChild( td1);
var td2 = document.createElement( "td");
tr.appendChild( td2);
td1.innerHTML = " \
";
td2.innerHTML = "";
td2.className = "button_box";
select_obj.parentNode.replaceChild( top_table, select_obj);
if ( top_table.outerHTML ) {
top_table.outerHTML = top_table.outerHTML;
}
var o1 = select_obj;
var o2 = document.getElementById( top_table.id);
if ( top_table.outerHTML ) {
o2._input_ = o2.firstChild.firstChild.firstChild.firstChild;
o2._input_hidden_ = o2._input_.nextSibling;
o2._list_div_ = o2.firstChild.firstChild.firstChild.lastChild;
} else {
o2._input_ = o2.firstChild.firstChild.firstChild;
o2._input_hidden_ = o2._input_.nextSibling;
o2._list_div_ = o2.firstChild.firstChild.lastChild;
}
o2.selectedIndex = o1.selectedIndex;
o2.options = o1.options;
o2.className = o1.className;
o2.style.cssText = o1.style.cssText
o2.style.borderCollapse = "collapse";
o2._input_.className = o1.className;
o2._input_.style.cssText = o1.style.cssText + ";width:100%";
o2._list_table_ = o2.getElementsByTagName( "table");
o2._list_table_ = o2._list_table_[0];
if ( document.all ) {
o2._list_div_.style.width = o2.clientWidth;
} else {
o2._list_div_.style.minWidth = o2.clientWidth;
}
o2._list_rest_ = function() {
for( var i=0; i|&)", "g");
var reg2 = new RegExp( "(\|"|'|<|>|&)", "g");
var reg3 = new RegExp( "(\\\\|\"|'|\\n|\\r)", "g");
var reg4 = new RegExp( "(\\\\\\\\|\\\\\"|\\\\\'|\\\\n|\\\\r)", "g");
var foo1 = function( str, p1) { return map1[p1]; }
var foo2 = function( str, p1) { return map2[p1]; }
var foo3 = function( str, p1) { return map3[p1]; }
var foo4 = function( str, p1) { return map4[p1]; }
var map1 = { "\\":"\", '"':""", "'":"'", "<":"<", ">":">", "&":"&"}
var map2 = { "\":"\\", """:'"', "'":"'", "<":"<", ">":">", "&":"&"}
var map3 = { "\\":"\\\\", "\"":"\\\"", "\'":"\\\'", "\n":"\\n", "\r":"\\r"};
var map4 = { "\\\\":"\\", "\\\"":"\"", "\\\'":"\'", "\\n":"\n", "\\r":"\r"};
htmlEncode = function( str){
return str.replace( reg1, foo1);
}
htmlDecode = function( str){
return str.replace( reg2, foo2);
}
addSlashes = function( str){
return str.replace( reg3, foo3);
}
stripSlashes = function( str){
return str.replace( reg4, foo4);
}
}
temp__();
crc32Class = function( seed, precondition){
this.precondition = precondition || 0xFFFFFFFF;
this.seed = seed || 0xEDB88320;
this.bitAND = function( num1, num2){
var num11 = num1 >>> 16;var num10 = (num1 << 16) >>> 16;
var num21 = num2 >>> 16;var num20 = (num2 << 16) >>> 16;
return (num10 & num20)+(num11 & num21)*0x10000;
}
this.bitOR = function( num1, num2){
var num11 = num1 >>> 16;var num10 = (num1 << 16) >>> 16;
var num21 = num2 >>> 16;var num20 = (num2 << 16) >>> 16;
return (num10 | num20)+(num11 | num21)*0x10000;
}
this.bitXOR = function( num1, num2){
var num11 = num1 >>> 16;var num10 = (num1 << 16) >>> 16;
var num21 = num2 >>> 16;var num20 = (num2 << 16) >>> 16;
return (num10 ^ num20)+(num11 ^ num21)*0x10000;
}
this.bitLeft = function( num, n){
var num1 = num >>> 16;var num0 = (num << 16) >>> 16;
return (num0 >>> n) + (num1 >>> n)*0x10000 + this.bitAND( (num1 << 16-n), 0x0000FFFF);
}
this.bitLeftCicle = function( num, n){
var num1 = num >>> 16;var num0 = (num << 16) >>> 16;
return ( (num0 >>> n) + this.bitAND( (num1 << 16-n), 0x0000FFFF)) + ((num1 >>> n) + this.bitAND( (num0 << 16-n), 0x0000FFFF) )*0x10000;
}
this.crc32_table = [];
var l_crc32;
var l_temp_crc32;
for( var i_bytes=0; i_bytes<256; i_bytes++) {
l_crc32 = i_bytes;
for( var i_bits=0; i_bits<8; i_bits++) {
l_temp_crc32 = l_crc32 >>> 1;
l_crc32 = ( this.bitAND( l_crc32, 0x1) != 0 )?this.bitXOR( l_temp_crc32, this.seed):l_temp_crc32;
}
this.crc32_table[i_bytes] = l_crc32;
}
this.get = function( str) {
var crc32 = this.precondition;
for( var i=0; i arguments[3] ) {
arguments[0].value = arguments[0].value.substring( 0, arguments[3]);
len = arguments[3];
}
document.getElementById(arguments[1]).innerHTML = len;
document.getElementById(arguments[2]).innerHTML = arguments[3] - len;
}
function wr( str) {
window.document.write( str);
}
function changeImageSrc( name, src) {
window.document.images[name].src = src;
}
function preload_images( data) {
var PreloadImages = [];
for( var i; i');
Preview_.showMe();
}
function openLegalNotice() {
open_popup_by_url( translates["Legal Notice"], "./legal_notice.html");
}
function openLegalNotice2() {
open_popup_by_url( translates["Legal Notice"], "http://www.alpeng.com/legal_notice.html");
}
function openPrivacy() {
open_popup_by_url( translates["Privacy Policy"], "./privacy_policy.html");
}
function openPrivacy2() {
open_popup_by_url( translates["Privacy Policy"], "http://www.alpeng.com/privacy_policy.html");
}
function save_article( page_title, art_url) {
open_popup_by_url( translates["Save article"] || "Save article", "./save_article.html?page_title="+myEscape( page_title)+"&url="+myEscape( art_url));
if ( typeof( onSaveArticlePing) == "string" ) {
var ping_img = new Image();
ping_img.src = onSaveArticlePing;
}
}
function email_to_friend( page_title, art_url) {
open_popup_by_url( translates["E-mail To a Friend"] || "E-mail To a Friend", "./email_to_friend.html?page_title="+myEscape( page_title)+"&url="+myEscape( art_url));
if ( typeof( onEmailArticlePing) == "string" ) {
var ping_img = new Image();
ping_img.src = onEmailArticlePing;
}
}
function email_alert( table, table_id, page_title, art_url) {
open_popup_by_url( translates["Email Alert"] || "Email Alert", "./email_alert.html?page_title="+myEscape( page_title)+"&url="+myEscape( art_url)+"&table="+myEscape( table)+"&table_id="+myEscape( table_id));
}
function windowScroll() {
try {
var divs = window.document.getElementById( "forLayers").getElementsByTagName("DIV");
for( var i=0; iRealPlayer is absent, for download click here');
}
} else if ( type == 1 ) {
FLvideoWindow( url, width, height);
} else if ( type == 2 ) {
if ( havemp ) {
MPvideoWindow( url, width, height);
} else {
wr( 'MediaPlayer is absent, for download click here ');
}
} else if ( type == 3 ) {
if ( haveqt ){
QTvideoWindow( url, width, height);
} else {
wr( 'QuickTime is absent, for download click here ');
}
} else if ( type == 4 ) {
wr( ' | | |