// JavaScript Document
var locline = {
lineRefleshStart:function() {
$('#line_rel1').hide();
$('#line_rel2').show();
this.finish = 0;
},
lineRefleshFinish:function() {
$('#line_rel2').hide();
$('#line_rel1').show();
this.finish = 1;
},
finish:1,
line:function( a , b , c , reflesh ) {
var r = '';
this.a = a;
this.b = b;
this.c = c;
var d1 = '', d2 = 'none';
if( this.finish == 0 ) {
d2 = '';
d1 = 'none';
}
r += '
' +
''+
'' +
' '+
' '+
' | '+
' | '+
'
'+
''+
' | '+
' | '+
' | '+
'
'+
''+
' | '+
'
'+
'
';
return r;
},
timer:null,
b:0,
a:0,
c:0,
lineTimer:function() {
if(document.getElementById('MoveLine')!=undefined) {
var prc = Math.ceil( (this.a - this.c) );
if( prc < 0 ) {
prc = 0;
}
$('#MoveLine').animate({'width':'63px'}, prc * 1000 , "linear" );
}
return '';
},
room:function( data ) {
var r = '';
/*
*/
r += '';
var i = 0;
while( i != - 1 ) {
if( data[i] != undefined ) {
r += ' | ';
r += ' |
';
}else{
i = -2;
}
i++;
}
r += '
';
return r;
}
};