<script language="JavaScript">
var htmlstr = "", flag=true, imgflag=true, mouse=1, speed=1, wait=3000, temp=0, height=50, amount=50;
var ctnt=new Array(), ctnt_i=new Array(), startPanel=0, n_panel=0, i=0, j=0, count=1;
</script>
<script>
// 0
ctnt[0]="상패전문쇼핑몰 상패몰(2005.08~09)";
// 1
ctnt[1]="이화여대 CINBM 홈페이지(2005.09~10)";
// 2
ctnt[2]="벤츠공식딜러 (주)모터원 (2005.09~2005.10)";
// 3
ctnt[3]="요가쇼핑몰 요나패밀리(2005.09.15~)";
</script>
<script>
function startText() {
if(ctnt.length>1){
for (i=0; i<ctnt.length; i++)
insertText(i);
window.setTimeout("scroll()",wait);
}else{
insertText(0);
}
}
function scroll() {
if (mouse && flag) {
for (i=0;i<ctnt.length;i++) {
if (temp == 0 && imgflag) {
for (j=0;j<ctnt_i.length;j++) {
tmp = document.getElementById('img_area'+j).style;
if (count % ctnt_i.length == j) {
tmp.display = '';
} else {
tmp.display = 'none';
}
}
imgflag=false;
count++;
}
temp++;
tmp = document.getElementById('scroll_area'+i).style;
tmp.top = parseInt(tmp.top)-speed;
if (parseInt(tmp.top) <= height*(-1)) {
tmp.top = height*(ctnt.length-1);
}
if (temp>(amount-1)*ctnt.length) {
flag=false;
temp=0;
window.setTimeout("flag=true;temp=0;imgflag=true;",wait);
}
}
}
window.setTimeout("scroll()",2);
}
function insertText(i) {
htmlstr='<a href=""><div style="left: 0px; width: 310px; position: absolute; top: '+(height*i+1)+'px" id="scroll_area'+i+'">\n';
htmlstr+=ctnt[i]+'\n'+'</div></a>\n';
document.write(htmlstr);
}
</script>
<table width="309" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="" width="309" height="31"></td>
</tr>
<tr>
<td height="25" valign="top" style="padding-left:10px;">
<!-- Rolling Table -->
<div style="height: 20px; width: 270px; position: absolute; overflow:hidden;" 허용되지않은 태그 사용중="mouse=0" 허용되지않은 태그 사용중="mouse=1" id="scroll_div">
<script language="JavaScript">startText();</script>
</div>
<!-- //Rolling Table -->
</td>
</tr>
<tr>
<td height="10"> </td>
</tr>
</table>
0