var events_over = 0

function democd_show_downloads(iid, obj) {
	obj.style.width='600px';
	$('#links_'+obj.id)[0].style.display='block';
	$('#demo_info_'+iid)[0].style.display='none';
}

function democd_hide_downloads(iid, obj) {
	obj.style.width='110px';
	$('#links_'+iid)[0].style.display='none';
	var id_ = iid.replace('demo_download_','');
	$('#demo_info_'+ id_)[0].style.display='block';
}

var important_note_active = 0;

function show_important_note(id_) {
	var DivElement = $('#'+id_)[0];
	var div_width = 600;
	var page_width = $('#center')[0].offsetWidth - 20;
	DivElement.style.top = (document.documentElement.scrollTop ) +'px';
	DivElement.style.left = parseInt((page_width - div_width)/2)+'px';
	if (! important_note_active)
	{
		important_note_active = 1;
		DivElement.style.display = 'block';
	};
}

function show_important_note_upg(id_) {
	var DivElement = $('#'+id_)[0];
	var div_width = 600;
	var page_width = $('#container')[0].offsetWidth - 20;
	DivElement.style.top = (document.documentElement.scrollTop ) +'px';
	DivElement.style.left = parseInt((page_width - div_width)/2)+'px';
	if (! important_note_active)
	{
		important_note_active = 1;
		DivElement.style.display = 'block';
	};
}

function show_info(id_) {
	var DivElement = $('#'+id_)[0];
	var div_width = 260;
	var page_width = $('#service_support_more')[0].offsetWidth - 10;
	DivElement.style.top = (document.documentElement.scrollTop ) +'px';
	DivElement.style.left = parseInt((page_width - div_width)/2 - 7)+'px';
	if (! important_note_active)
	{
		important_note_active = 1;
		DivElement.style.display = 'block';
	};
}