/************* 
**** <config> 
**/ 
startColor = "#0000FF"; // MouseOut link color 
endColor = "#FFFFFF"; // MouseOver link color 

stepIn = 20; // delay when fading in 
stepOut = 20; // delay when fading out 

autoFade = true; 

sloppyClass = true; 


hexa = new makearray(16); 
for(var i = 0; i < 10; i++) 
hexa[i] = i; 
hexa[10]="a"; hexa[11]="b"; hexa[12]="c"; 
hexa[13]="d"; hexa[14]="e"; hexa[15]="f"; 

document.onmouseover = domouseover; 
document.onmouseout = domouseout; 

startColor = dehexize(startColor.toLowerCase()); 
endColor = dehexize(endColor.toLowerCase()); 

var fadeId = new Array(); 
var timerID = 0; 
var theElement,theTagName,theClassName,theUniqueID 

function dehexize(Color){ 
var colorArr = new makearray(3); 
for (i=1; i<7; i++){ 
for (j=0; j<16; j++){ 
if (Color.charAt(i) == hexa[j]){ 
if (i%2 !=0) 
colorArr[Math.floor((i-1)/2)]=eval(j)*16; 
else 
colorArr[Math.floor((i-1)/2)]+=eval(j); 
} 
} 
} 
return colorArr; 
} 

function domouseover() { 
if(document.all) { 
clearTimeout(timerID); 
theElement = event.srcElement; 
theTagName = theElement.tagName; 
theClassName = theElement.className; 
theUniqueID = theElement.uniqueID; 
if ((theTagName == "A" && autoFade) || theClassName == "fade" || (sloppyClass && theClassName.indexOf("fade") != -1)) { 
//alert(theElement); 
fade(startColor,endColor,theUniqueID,stepIn); 
timerID = setTimeout('pulsedown()',500); 
} 
} 
} 

function pulseup() { 
if(document.all) { 
clearTimeout(timerID); 
if ((theTagName == "A" && autoFade) || theClassName == "fade" || (sloppyClass && theClassName.indexOf("fade") != -1)) { 
//alert(theElement); 
fade(startColor,endColor,theUniqueID,stepIn); 
timerID = setTimeout('pulsedown(theElement)',500); 
} 
} 
} 

function pulsedown(theElement) { 
if (document.all) { 
clearTimeout(timerID); 
if ((theTagName == "A" && autoFade) || theClassName == "fade" || (sloppyClass && theClassName.indexOf("fade") != -1)) { 
//alert(theElement); 
fade(endColor,startColor,theUniqueID,stepOut); 
timerID = setTimeout('pulseup()',500); 
} 
} 
} 


function domouseout() { 
if (document.all) { 
clearTimeout(timerID); 
var srcElement = event.srcElement; 
if ((srcElement.tagName == "A" && autoFade) || srcElement.className == "fade" || (sloppyClass && srcElement.className.indexOf("fade") != -1)) 
fade(endColor,startColor,srcElement.uniqueID,stepOut); 
} 
} 

function makearray(n) { 
this.length = n; 
for(var i = 1; i <= n; i++) 
this[i] = 0; 
return this; 
} 

function hex(i) { 
if (i < 0) 
return "00"; 
else if (i > 255) 
return "ff"; 
else 
return "" + hexa[Math.floor(i/16)] + hexa[i%16];} 

function setColor(r, g, b, element) { 
var hr = hex(r); var hg = hex(g); var hb = hex(b); 
element.style.color = "#"+hr+hg+hb; 
} 

function fade(s,e, element,step){ 
var sr = s[0]; var sg = s[1]; var sb = s[2]; 
var er = e[0]; var eg = e[1]; var eb = e[2]; 

if (fadeId[0] != null && fade[0] != element){ 
setColor(sr,sg,sb,eval(fadeId[0])); 
var i = 1; 
while(i < fadeId.length){ 
clearTimeout(fadeId[i]); 
i++; 
} 
} 

for(var i = 0; i <= step; i++) { 
fadeId[i+1] = setTimeout("setColor(Math.floor(" +sr+ " *(( " +step+ " - " +i+ " )/ " +step+ " ) + " +er+ " * (" +i+ "/" + 
step+ ")),Math.floor(" +sg+ " * (( " +step+ " - " +i+ " )/ " +step+ " ) + " +eg+ " * (" +i+ "/" +step+ 
")),Math.floor(" +sb+ " * ((" +step+ "-" +i+ ")/" +step+ ") + " +eb+ " * (" +i+ "/" +step+ ")),"+element+");",i*step); 
} 
fadeId[0] = element; 
}



//status bar code here 


function js_start() {clearInterval(js.sttm);js_init();if (arguments.length>0) js_init2(arguments[0]);js.sttm=setInterval ("doEffect('js')",10);}function js_stop() {clearInterval(js.sttm);window.status="";}js_init();function js_init() {js={stel:0,stft:"",stec:9,stcel:1,stce:-1,stcl:-1,stls:-1,stcs:0,sttg:0,stea:["All Technology News Here",8,2,1,"This is our technology world",0,6,1,"Welcome to our tech world",6,6,1,"3",10,20,1,"You can any science & technology news here",7,10,1,"Please mail us for any information or any suggestion to develop this website.....",0,10,1,"6",1,10,1,"alltechnews@gmail",8,5,1,"www.alltechnews.tk",7,6,1],stwa3:["Thank"," you"," very"," much"," for"," visiting"," our","technology"," website","              "],stwa6:["You"," can"," call"," me","+8801552333272"]};}function js_init2 (en) {js.stea=[js.stea[(en-1)*4],js.stea[(en-1)*4+1],js.stea[(en-1)*4+2],js.stea[(en-1)*4+3]];js.stec=1;js.stel=0;}function doEffect(es) {var s=eval(es);if (s.stce==s.stec) {if (s.stcel==s.stel) {clearInterval(s.sttm);window.status=s.stft;return;} else {if (s.stel>0) s.stcel++;s.stce=-1;s.stcl=s.stls;}}if (s.stcl==s.stls) {s.stce++;s.sttx=s.stea[s.stce*4];s.sttp=s.stea[s.stce*4+1];s.stsd=s.stea[s.stce*4+2];s.stls=s.stea[s.stce*4+3];s.stcl=0;s.stsp=1;s.sttg=0;}if (21-s.stsd-s.sttg==0) {var stres=eval("stEffect"+s.sttp+"(s.sttx,s.stsp++,es);");s.sttg=0;if (stres!="") window.status=stres;else {s.stcl++;s.stsp=1;}}s.sttg++;}function stEffect8(text,step){if (text.length/2+3<step) return "";if (step<3) return text;for (var i=3,s=""; i<step; i++,s+=" ");return s+text.substring(0,text.length/2-step+3)+text.substring(text.length-text.length/2+step-3,text.length);}function stEffect0(text,step){if (step>text.length) return "";else return text.substring(0,step);}function stEffect6(text,step){if (text.length<step) return "";return text.substring(0,step-1)+text.substring(step-1,step).toUpperCase()+text.substring(step,text.length);}function stEffect10(text,step,es){var wa=eval(es+".stwa"+text);for (var i=0,text=""; i<wa.length; i++) text+=wa[i];var n=text.length+20,i=0,w=0,s2=step,j=0;while (i+n<step) {i+=n;s2-=n;w++;n-=wa[j++].length;}if (w>=wa.length) return "";for (i=(n-s2),s=""; i>0; i--,s+=" ");for (i=0,s1=""; i<w; i++) s1+=wa[i];return s1+s+wa[w];}function stEffect7(text,step){if (text.length/2+3<step) return "";if (text.length/2<step) return text;for (var i=0,s=""; i<text.length/2-step; i++,s+=" ");return s+text.substring(0,step)+text.substring(text.length-step,text.length);}function stEffect1(text,step,es) {var wa=eval(es+".stwa"+text);if (step>wa.length) return "";else {for (var i=0,r=""; i<step; i++) r+=wa[i];return r;}}js_start();
