<html>
<head>
<title>Fedmich</title>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<script>
var items = [];
var ctr = 5;
function next_item(){
var i = 0;
for(i=0;i<5;++i){
document.getElementById('name_'+i).innerHTML = '';
document.getElementById('image_'+i).innerHTML = '';
document.getElementById('amt_'+i).innerHTML = '';
}
for(i=0;i<5;++i){
++ctr;
if(ctr >=items.length){
// console.log(ctr);
ctr = 0;
}
document.getElementById('name_'+i).innerHTML = items[ctr].name;
document.getElementById('image_'+i).innerHTML = '<img src="images/'+ items[ctr].image + '" />';
document.getElementById('amt_'+i).innerHTML = items[ctr].amt;
}
next_item2();
}
function next_item2(){
setTimeout(next_item, 3800);
}
next_item2();
items.push({
name : '6230i'
, image : '6230i.gif'
, amt : '189'
, link : 'http://www.google.com/'
});
items.push({
name : '6300'
, image : '6300.gif'
, amt : '142'
, link : 'http://www.google.com/'
});
items.push({
name : '7100'
, image : '7100.gif'
, amt : '197'
, link : 'http://www.google.com/'
});
items.push({
name : '7290'
, image : '7290.gif'
, amt : '111'
, link : 'http://www.google.com/'
});
items.push({
name : '8100'
, image : '8100.gif'
, amt : '186'
, link : 'http://www.google.com/'
});
items.push({
name : '8110'
, image : '8110.gif'
, amt : '195'
, link : 'http://www.google.com/'
});
items.push({
name : '8700'
, image : '8700.gif'
, amt : '169'
, link : 'http://www.google.com/'
});
items.push({
name : 'c902'
, image : 'c902.gif'
, amt : '193'
, link : 'http://www.google.com/'
});
items.push({
name : 'd500'
, image : 'd500.gif'
, amt : '113'
, link : 'http://www.google.com/'
});
items.push({
name : 'd900'
, image : 'd900.gif'
, amt : '103'
, link : 'http://www.google.com/'
});
items.push({
name : 'e900'
, image : 'e900.gif'
, amt : '155'
, link : 'http://www.google.com/'
});
items.push({
name : 'k750i'
, image : 'k750i.gif'
, amt : '121'
, link : 'http://www.google.com/'
});
items.push({
name : 'k800i'
, image : 'k800i.gif'
, amt : '150'
, link : 'http://www.google.com/'
});
items.push({
name : 'motorola-krzrk1'
, image : 'motorola-krzrk1.gif'
, amt : '125'
, link : 'http://www.google.com/'
});
items.push({
name : 'motorola-rizr'
, image : 'motorola-rizr.gif'
, amt : '135'
, link : 'http://www.google.com/'
});
items.push({
name : 'mov3'
, image : 'mov3.gif'
, amt : '134'
, link : 'http://www.google.com/'
});
items.push({
name : 'n73'
, image : 'n73.gif'
, amt : '109'
, link : 'http://www.google.com/'
});
items.push({
name : 'n95'
, image : 'n95.gif'
, amt : '188'
, link : 'http://www.google.com/'
});
items.push({
name : 'w810i'
, image : 'w810i.gif'
, amt : '126'
, link : 'http://www.google.com/'
});
items.push({
name : 'w850'
, image : 'w850.gif'
, amt : '185'
, link : 'http://www.google.com/'
});
</script>
<div class="pay">
<table width="98%" border="0">
<tr>
<td rowspan="2" align="center">
<span id="image_0" ><a href="http://www.google.com/"><img src="images/6230i.gif" alt="" title="" /></a></span>
</td>
<td align="center">
<h4 id="name_0">6230i</h4>
</td>
</tr>
<tr>
<td align="center">
we pay <br />
<span class="amount" id="amt_0">£189</span>
</td>
</tr>
</table>
</div>
<div class="pay">
<table width="98%" border="0">
<tr>
<td rowspan="2" align="center">
<span id="image_1" ><a href="http://www.google.com/"><img src="images/6300.gif" alt="" title="" /></a></span>
</td>
<td align="center">
<h4 id="name_1">6300</h4>
</td>
</tr>
<tr>
<td align="center">
we pay <br />
<span class="amount" id="amt_1">£142</span>
</td>
</tr>
</table>
</div>
<div class="pay">
<table width="98%" border="0">
<tr>
<td rowspan="2" align="center">
<span id="image_2" ><a href="http://www.google.com/"><img src="images/7100.gif" alt="" title="" /></a></span>
</td>
<td align="center">
<h4 id="name_2">7100</h4>
</td>
</tr>
<tr>
<td align="center">
we pay <br />
<span class="amount" id="amt_2">£197</span>
</td>
</tr>
</table>
</div>
<div class="pay">
<table width="98%" border="0">
<tr>
<td rowspan="2" align="center">
<span id="image_3" ><a href="http://www.google.com/"><img src="images/7290.gif" alt="" title="" /></a></span>
</td>
<td align="center">
<h4 id="name_3">7290</h4>
</td>
</tr>
<tr>
<td align="center">
we pay <br />
<span class="amount" id="amt_3">£111</span>
</td>
</tr>
</table>
</div>
<div class="pay">
<table width="98%" border="0">
<tr>
<td rowspan="2" align="center">
<span id="image_4" ><a href="http://www.google.com/"><img src="images/8100.gif" alt="" title="" /></a></span>
</td>
<td align="center">
<h4 id="name_4">8100</h4>
</td>
</tr>
<tr>
<td align="center">
we pay <br />
<span class="amount" id="amt_4">£186</span>
</td>
</tr>
</table>
</div>
<input type="button" onclick="next_item();" value="next" />
</body>
</html>