<!--

//share js------------------------------------------------------//
function openwin(Url)
{
  msgwin=window.open(Url,"msg","left=0,top=0,width=550,height=350,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  msgwin.focus();
	return;
}
function openwin1(Url)
{
  msgwin=window.open(Url,"msg","left=0,top=0,width=700,height=500,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
  msgwin.focus();
	return;
}

function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=40
}


function openwindow(url) {
   window.open(url,'new','scrollbars=yes,resizable=yes,width=550,height=500');
    }
function opennews(url) {
   window.open(url,'new','scrollbars=yes,resizable=yes,width=550,height=500');
    }


//-->

// =======================================
// set variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2000
var crossFadeDuration = 3
var Pic = new Array() 

Pic[0] = '/images/01.jpg'
Pic[1] = '/images/02.jpg'
Pic[2] = '/images/03.jpg'
Pic[3] = '/images/04.jpg'
Pic[4] = '/images/05.jpg'
Pic[5] = '/images/06.jpg'
Pic[6] = '/images/07.jpg'
Pic[7] = '/images/08.jpg'

// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

var clickmessage="Lianlida!"

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all)
document.onmousedown=disableclick
else if (document.layers)
associateimages()
