var itemno=7;

function resize_fs(){

 if(document.body.clientWidth<document.all.filmstrip.width){
   document.all.filmstrip.style.left=document.body.clientWidth-document.all.filmstrip.width;
 }
}

var strip_left=0;
var nIntMove=0;
var dir=0;


function move_left(){


  if(dir!=-1) stop_move();
  dir=-1;

  if(nIntMove==0)
    nIntMove=setInterval("move(-3);",10);

}


function move_right(){

  if(dir!=1) stop_move();
  dir=1;

  if(nIntMove==0)
    nIntMove=setInterval("move(3);",10);

}


function stop_move(){
  if(nIntMove!=0)
    clearInterval(nIntMove);
  nIntMove=0;
}


function move(n){
 var page_width=  document.body.clientWidth;
 var strip_width= document.all.filmstrip.width;

 var fw= strip_width/1+strip_left/1

 if((n<0 && fw>page_width) || (n>0 && strip_left<0)){
   strip_left += n;
   document.all.filmstrip.style.left = strip_left;    
 }else{
   stop_move();
 }
} 


function FsShowCont1(){
  if(document.all.Content1){
	document.all.Content1.style.display='';
  	document.all.Content2.style.display='none';
  }
}