<!--
-->
: 10
" " Hot Doc
20 2012
2012 ()
www.gsis.gr: 2012-2013
internet
: 2012 -
Citigroup: 2013
2012 ()
";
t += " ";
t += " ";
t += " 0)?"onclick=""+this.name+".is_opened=!"+this.name+".is_opened;(("+this.name+".is_opened)?show("+this.name+".inner2):hide("+this.name+".inner2))"":"")+" /";//"+((this.count0)?((this.is_opened)?"-":"v"):"")+"
t += " ";
t += " ";
t += " ";
t += "";
t += "
";
return t;
}
function metoxes_moy_draw_inside(){
var table = "";
table += "
";
table += "";
table += " ";
table += " ";
table += " ";
table += " ";
table += " ";
table += " ";
table += " .";
table += " .%";
//table += " . ";
table += " . 2013";
table += " ";
var i=0;var cl = '';var cl1 = '';var cl2 = '';var cl3 = '';
for(var secsym in this.set){
cl1 = "border_grey_right_left_bottom";
cl2 = "border_grey_right_bottom";
cl3 = "border_grey_right_bottom";
cl = (this.set[secsym].price_diff0.0)?"green":((this.set[secsym].price_diff";
//table += " ";
table += " ";
table += " "+secsym+"";
table += " "+number_format(this.set[secsym].price,4,",",".")+"";
table += " "+number_format(this.set[secsym].diff,4,",",".")+"";
table += " "+number_format(this.set[secsym].price_diff,2,",",".",true)+"%";
table += " "+number_format(this.set[secsym].apodosi_etous,2,",",".",true)+"%";
table += " ";
i++;
}
table += " ";
table += " ";
table += "";
table += "
";
return table;
}
function metoxes_moy_draw_changes(){
var secsym = "";var tmp_prefix_id = "";
if(!this.is_ana_klado){
for(var i in this.set){
tmp_prefix_id = make_name(this.name)+"_"+make_name(i);
get_element(tmp_prefix_id+"_name_inner").style.background = "";
get_element(tmp_prefix_id+"_price_inner").style.background = "";
get_element(tmp_prefix_id+"_diff_inner").style.background = "";
get_element(tmp_prefix_id+"_price_diff_inner").style.background = "";
}
}
for(var i in this.set_just_changed){
secsym = this.set_just_changed[i];
if(typeof(this.set[secsym])=="object"){
tmp_prefix_id = make_name(this.name)+"_"+make_name(secsym);
color = (this.set[secsym].price_diff0.0)?"green":((this.set[secsym].price_diff0.0)?"up.gif":"down.gif"))+"' alt='' width='10'");
innerHTML(tmp_prefix_id+"_metavoli_inner","");
get_element(tmp_prefix_id+"_name_inner").style.color = color;
get_element(tmp_prefix_id+"_price_inner").style.color = color;
innerHTML(tmp_prefix_id+"_price_inner",number_format(this.set[secsym].price,4,",","."));
get_element(tmp_prefix_id+"_diff_inner").style.color = color;
innerHTML(tmp_prefix_id+"_diff_inner",number_format(this.set[secsym].diff,4,",",".",true));
get_element(tmp_prefix_id+"_price_diff_inner").style.color = color;
innerHTML(tmp_prefix_id+"_price_diff_inner",number_format(this.set[secsym].price_diff,2,",",".",true)+"%");
get_element(tmp_prefix_id+"_apodosi_etous_inner").style.color = color;
innerHTML(tmp_prefix_id+"_apodosi_etous_inner",number_format(this.set[secsym].apodosi_etous,2,",",".",true)+"%");
get_element(tmp_prefix_id+"_name_inner").style.background = "yellow";
get_element(tmp_prefix_id+"_price_inner").style.background = "yellow";
get_element(tmp_prefix_id+"_diff_inner").style.background = "yellow";
get_element(tmp_prefix_id+"_price_diff_inner").style.background = "yellow";
get_element(tmp_prefix_id+"_apodosi_etous_inner").style.background = "yellow";
}
}
}
function metoxes_moy_show_prosthesi_metoxis(that){
if(innerHTML(this.inner_popup2,this.draw_prosthesi_metoxis())){
var that_id = (that)?that.id:"";
var p = getElementPosition(that_id)
show(this.inner_popup,(p.left-500), (p.top-210));
//makeDraggable(get_element(this.inner_popup2));
}
}
function metoxes_moy_draw_prosthesi_metoxis(){
var t = "";
t += "
";
t += "";
t += " ";
t += "";
t += "";
t += " 15 ";
t += "";
t += "";
t += " ";
t += " ";
t += " ";
t += "";
t += "";
t += " ";
t += "";
t += "
";
return t;
}
function metoxes_moy_hide_prosthesi_metoxis(e){
var is_clicked_inside = false;
var p = getElementPosition(this.inner_popup);
var c = mouseCoords(e);
is_clicked_inside = ((c.x p.left) (c.x p.top) (c.y ";
t += "
";
t += " ";
t += "
";
t += "";
return t;
}
function metoxes_moy_hide_help_prosthesi_metoxis(){
hide(this.inner_help);
}
function metoxes_moy_show_afairesi_metoxis(that){
if(innerHTML(this.inner_popup4,this.draw_afairesi_metoxis())){
var that_id = (that)?that.id:"";
var p = getElementPosition(that_id)
show(this.inner_popup3,(p.left-300), (p.top-100));
makeDraggable(get_element(this.inner_popup3));
delete p;
}
}
function metoxes_moy_draw_afairesi_metoxis(){
var t = "";
t += "
";
t += "";
t += " ";
t += "";
t += "";
t += " x ";
t += "";
t += "";
t += " ";
t += " ";
t += " ";
t += "";
t += "";
t += " ";
t += "";
t += "
";
return t;
}
function metoxes_moy_hide_afairesi_metoxis(e){
var is_clicked_inside = false;
var p = getElementPosition(this.inner_popup3);
var c = mouseCoords(e);
is_clicked_inside = ((c.x p.left) (c.x p.top) (c.y 0 p.width0){
this.is_opened=true;
this.is_shown=false;
this.get();
}
}
delete p;delete c;delete is_clicked_inside;
}
function metoxes_moy_show_help_afairesi_metoxis(that){
if(innerHTML(this.inner_help2,this.draw_help_afairesi_metoxis())){
var that_id = (that)?that.id:"";
var p = getElementPosition(that_id)
show(this.inner_help,(p.left),(p.top-53));
delete p;delete that_id;delete that;
}
}
function metoxes_moy_draw_help_afairesi_metoxis(){
var t = "";
t += "
";
return t;
}
function metoxes_moy_hide_help_afairesi_metoxis(){
hide(this.inner_help);
}
function metoxes_moy_rem(secsym, position){
if(typeof(this.set[secsym])=="object"){
var tmp = new Array();
for(var i in this.set){
if(i!=secsym){
tmp[i] = this.set[i];
}
}
this.set = tmp;
innerHTML(this.inner_popup4,this.draw_afairesi_metoxis());
delete tmp;
}
}
function static_metoxes_moy_hide(e) {
e = e || window.event;
for (var i in my_objects){
if (typeof(my_objects[i])=="object"){
if(my_objects[i].hide_prosthesi_metoxis) {
my_objects[i].hide_prosthesi_metoxis(e);
}
if(my_objects[i].hide_afairesi_metoxis){
my_objects[i].hide_afairesi_metoxis(e);
}
}
}
}
window.popupWindowOldEventListener2 = document.onmouseup;
if (window.popupWindowOldEventListener2 != null) {
document.onmouseup = function(e){
window.popupWindowOldEventListener2(e);
static_metoxes_moy_hide(e);
}
}
else {
document.onmouseup = static_metoxes_moy_hide;
}
//
// end class metoxes_moy
//
//--
<!--using SOAP :http://cnt4.express.gr:10000/-->