var ieNOTopera=document.all&&navigator.userAgent.indexOf("Opera")==-1
var myspeed=0

var ieHoffset_extra=document.all? 15 : 0
var cross_obj=document.all? document.all.intl_ship : document.getElementById? document.getElementById("intl_ship") : document.intl_ship

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function positionit(){
var dsocleft=document.all? iecompattest().scrollLeft : document.documentElement.scrollLeft
var dsoctop=document.all? iecompattest().scrollTop : document.documentElement.scrollTop
var window_width=ieNOTopera? iecompattest().clientWidth : window.innerWidth+ieHoffset_extra
var window_height=ieNOTopera? iecompattest().clientHeight : window.innerHeight



var Hoffset=window_width//Enter buttons' offset from right edge of window (adjust depending on images width)
var Voffset=window_height //Enter buttons' offset from bottom edge of window (adjust depending on images height)

if (document.getElementById){
cross_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-Hoffset+"px"
cross_obj.style.top=parseInt(dsoctop)+parseInt(window_height)-Voffset+"px"
//alert('minhaj'+cross_obj.style.left);
//alert('uddin'+parseInt(dsoctop));
//alert('minhaj'+window.innerHeight)
}
else if (document.layers){
cross_obj.left=dsocleft+window_width-Hoffset
cross_obj.top=dsoctop+window_height-Voffset	
}
}

function scrollwindow(){
window.scrollBy(0,myspeed)
}

function initializeIT(){
positionit()
if (myspeed!=0){
scrollwindow()
}
}

if (document.all||document.getElementById||document.layers)
setInterval("initializeIT()", 200)