function openWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

//-----------------------------FOR SCROLLER--------------------------
	var timer;
	var scroll=true;
	var loop = 0;
	var currLayer;
	var layerCount = 0;
	var layerIdx = 0;
	var stopScroll=false;
	function initScroll(){
		if(secLayer.length){
			layerCount = secLayer.length;
			currLayer = secLayer[layerIdx];
		}else{
			layerCount = 0;
			currLayer = secLayer;
		}
		timer = setInterval('scrollLayer()','30');
	}
	
	
	function scrollLayer(){
		if(!stopScroll){
			if(loop==100){
				loop=0;
				currLayer.style.top=-1;
			}
			if(parseInt(currLayer.style.top)==0){
				scroll=false;
			}else{
				scroll=true;
			}
			
			if(scroll){
				currLayer.style.top = parseInt(currLayer.style.top)-1;
			}else{
				loop++;
			}
			
			if(parseInt(currLayer.style.top)==-100){
				currLayer.style.top=100;
				if(layerCount > 0){
					layerIdx++;
							
					if(layerIdx >= layerCount){
						layerIdx = 0;
					}
					currLayer = secLayer[layerIdx];
				}
			}
		}
	}

