function accomSelect1()
{
document.basic1.submit();
}

function accomSelect2()
{
document.basic2.submit();
}

function accomSelect3()
{
document.basic3.submit();
}

function accomSelect4()
{
document.basic4.submit();
}

function accomSelect5()
{
document.basic5.submit();
}
function nextImage()
{
  
  if ((document.imagez.prf.value) == 1)
    {document.imagez.prf.value = 2;
     var image = document.imagez.image2.value;
	 document.accomimage.src = (image);
   }else{
       if ((document.imagez.prf.value) == 2)
         {
	     document.imagez.prf.value = 3;
	     var image = document.imagez.image3.value;
		 document.accomimage.src = (image);
         }
   else{
    if ((document.imagez.prf.value) == 3)
      {
	   document.imagez.prf.value = 4;
	    var image = document.imagez.image4.value;
		document.accomimage.src = (image);
      }	 
	 else{
    if ((document.imagez.prf.value) == 4)
      {
	   document.imagez.prf.value = 1;
	    var image = document.imagez.image1.value;
		document.accomimage.src = (image);
      }	 
	  } 
    }
   }
 }
 function prevImage()
{
  
  if ((document.imagez.prf.value) == 1)
    {document.imagez.prf.value = 4;
     var image = document.imagez.image4.value;
	 document.accomimage.src = (image);
   }else{
       if ((document.imagez.prf.value) == 2)
         {
	     document.imagez.prf.value = 1;
	     var image = document.imagez.image1.value;
		 document.accomimage.src = (image);
         }
   else{
    if ((document.imagez.prf.value) == 3)
      {
	   document.imagez.prf.value = 2;
	    var image = document.imagez.image2.value;
		document.accomimage.src = (image);
      }	 
	 else{
    if ((document.imagez.prf.value) == 4)
      {
	   document.imagez.prf.value = 3;
	    var image = document.imagez.image3.value;
		document.accomimage.src = (image);
      }	 
	  } 
    }
   }
 }
 function popurl(url, w, h)
{
	if (w==0)
	{
	  w = 400; //default width
	}
	sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width='+ w + ',height=' + h +'');
	self.name = "mainWin";
	sealWin.focus();
}

function SetMain(strURL)
	{
	    // Refresh the Main window when a link is chosen from this popup
	  var str = new String;
	  window.opener.location.href=strURL;
	}
	
	function nextImageX()
{
  
  if ((document.imagez.prf.value) == 1)
    {document.imagez.prf.value = 2;
     var image = document.imagez.image2.value;
	 document.accomimage.src = (image);
   }else{
       if ((document.imagez.prf.value) == 2)
         {
	     document.imagez.prf.value = 3;
	     var image = document.imagez.image3.value;
		 document.accomimage.src = (image);
   }else{
    if ((document.imagez.prf.value) == 3)
      {
	   document.imagez.prf.value = 4;
	    var image = document.imagez.image4.value;
		document.accomimage.src = (image);
    }else{
     if ((document.imagez.prf.value) == 4)
      {
	   document.imagez.prf.value = 5;
	    var image = document.imagez.image5.value;
		document.accomimage.src = (image);
      }else{
       if ((document.imagez.prf.value) == 5)
        {
	   document.imagez.prf.value = 6;
	    var image = document.imagez.image6.value;
		document.accomimage.src = (image);
      }	
	   else{
       if ((document.imagez.prf.value) == 6)
        {
	   document.imagez.prf.value = 7;
	    var image = document.imagez.image7.value;
		document.accomimage.src = (image);
      }	
	  else{
       if ((document.imagez.prf.value) == 7)
        {
	   document.imagez.prf.value = 8;
	    var image = document.imagez.image8.value;
		document.accomimage.src = (image);
      }else{
       if ((document.imagez.prf.value) == 8)
        {
	   document.imagez.prf.value = 1;
	    var image = document.imagez.image1.value;
		document.accomimage.src = (image);
      }		
	  }
	  }
	  } 
	  }	 
	 } 
    }
   }
 } 
function prevImageX()
{
  
  if ((document.imagez.prf.value) == 1)
    {document.imagez.prf.value = 8;
     var image = document.imagez.image8.value;
	 document.accomimage.src = (image);
   }else{
       if ((document.imagez.prf.value) == 2)
         {
	     document.imagez.prf.value = 1;
	     var image = document.imagez.image1.value;
		 document.accomimage.src = (image);
   }else{
    if ((document.imagez.prf.value) == 3)
      {
	   document.imagez.prf.value = 2;
	    var image = document.imagez.image2.value;
		document.accomimage.src = (image);
    }else{
     if ((document.imagez.prf.value) == 4)
      {
	   document.imagez.prf.value = 3;
	    var image = document.imagez.image3.value;
		document.accomimage.src = (image);
      }else{
       if ((document.imagez.prf.value) == 5)
        {
	   document.imagez.prf.value = 4;
	    var image = document.imagez.image4.value;
		document.accomimage.src = (image);
      }	
	   else{
       if ((document.imagez.prf.value) == 6)
        {
	   document.imagez.prf.value = 5;
	    var image = document.imagez.image5.value;
		document.accomimage.src = (image);
      }	
	  else{
       if ((document.imagez.prf.value) == 7)
        {
	   document.imagez.prf.value = 6;
	    var image = document.imagez.image6.value;
		document.accomimage.src = (image);
      }else{
       if ((document.imagez.prf.value) == 8)
        {
	   document.imagez.prf.value = 7;
	    var image = document.imagez.image7.value;
		document.accomimage.src = (image);
      }		
	  }
	  }
	  } 
	  }	 
	 } 
    }
   }
 } 

