var state=0;
function back_change(id,out) {
	if(out == -1 && state == 1) {
		document.getElementById('bc_'+id).style.backgroundImage = 'url(/DESIGN/marklar/img/item_back_left.gif)';
		document.getElementById('bb_'+id).style.backgroundImage = 'none';
		state = 0;
	}
	if(out == 1  && state == 0) {
		document.getElementById('bc_'+id).style.backgroundImage = 'url(/DESIGN/marklar/img/item_back_left_.gif)';
		document.getElementById('bb_'+id).style.backgroundImage = 'url(/DESIGN/marklar/img/item_back.gif)';
		state = 1;
	}
}
function back_change_(id,out) {
	if(out == -1) {
		document.getElementById('ic_'+id).style.backgroundColor = '#EDEDED';
	}
	else {
		document.getElementById('ic_'+id).style.backgroundColor = '#C6DDF1';
	}
}

function back_change1(id,out) {
	if(out == -1 && state == 1) {
		document.getElementById('bc_'+id).style.backgroundImage = 'url(/DESIGN/marklar/img/item_back_left1.gif)';
		document.getElementById('bb_'+id).style.backgroundImage = 'none';
		state = 0;
	}
	if(out == 1  && state == 0) {
		document.getElementById('bc_'+id).style.backgroundImage = 'url(/DESIGN/marklar/img/item_back_left_1.gif)';
		document.getElementById('bb_'+id).style.backgroundImage = 'url(/DESIGN/marklar/img/item_back.gif)';
		state = 1;
	}
}

function back_change1_(id,out) {
	if(out == -1) {
		document.getElementById('ic_'+id).style.backgroundColor = '#EDEDED';
	}
	else {
		document.getElementById('ic_'+id).style.backgroundColor = '#C6DDF1';
	}
}

function copy( num ){
	
     if(!document.all)
        return false;

    clipboardData.setData('Text', num);
        
    return false;
}
