Пробую так
function clik() {
var clik=document.getElementById("lii");
clik.click();
}
<ul>
<li id="lii">1</li>
<li>2</li>
<li>3</li>
</ul>
И ваш код работает.
НУ ТОЛЬКО НА ПРОБНОЙ СТРАНИЧКЕ
Пробую тут не работает
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Галерея со слайдером | Демонстрация для сайта RUSELLER.COM</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="js/cufon-yui.js" type="text/javascript"></script>
<script src="js/Opium_400.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h1,h2,.fp_close,.reference,p');
</script>
<link type="text/css" href="css/jquery.ui.theme.css" rel="stylesheet" />
<link type="text/css" href="css/jquery.ui.core.css" rel="stylesheet" />
<link type="text/css" href="css/jquery.ui.slider.css" rel="stylesheet" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen"/>
<script type="text/javascript" src="thickbox.js"></script>
<link rel="stylesheet" href="thickbox.css" type="text/css" media="screen" />
<style type="text/css">
span.reference{
font-family:Arial;
position:fixed;
left:10px;
bottom:10px;
font-size:13px;
}
span.reference a{
color:#fff;
margin-right:20px;
text-transform:uppercase;
}
span.reference a:hover{
border-bottom:1px solid #ddd;
}
</style>
<script language="JavaScript">
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight )
</script>
<script type="text/javascript">
function clik() {
var clik=document.getElementById("lii");
clik.click();
}
</script>
</head>
<body>
<div id="fp_gallery" class="fp_gallery">
<img src="images/anfas2.jpg" class="fp_bgImage" />
<div class="fp_bgPattern"></div>
<h1><a href="#" id="fp_galleryList" class="fp_galleryList">ДЕМОНСТРАЦИЯ ГАЛЕРЕИ</a></h1>
<h2>для сайта RUSELLER.COM</h2>
<p>выберите город</p>
<ul id="fp_galleryList" class="fp_galleryList">
<li id="lii" onclick="alert('kkk');">Париж</li>
<li>Нью Йорк</li>
</ul>
<script type="text/javascript">
setTimeout("clik();",1000);
</script>
<div id="fp_thumbContainer">
<div id="fp_thumbScroller">
<div class="container">
<div class="content">
<div><a href="#"><img src="images/album1/thumbs/anfas2.jpg" alt="images/album1/anfas2.jpg" class="thumb" /></a></div>
</div>