/*
 * Copyright 2000-2008 namics ag. All rights reserved.
 */

/**
 * basic functionality.
 * 
 * @author Remo Brunschwiler, namics ag
 */

var basic = new TV.Basic();

// copy of the main.js function from
// sf.tv
function isCookie(cookieName) {
	var c = false;
	var strCookie;
	
	if(strCookie = document.cookie) {
		if(arrCookie = strCookie.match( new RegExp( cookieName + '=([^;]*)', 'g'))) {
			if(RegExp.$1.length>1 && RegExp.$1!=undefined) c = true;
		}
	}
	return(c);
}