function checkSites()
{
if ((document.forms.addSite.title.value == '') || (document.forms.addSite.url.value == '') || (document.forms.addSite.description.value == ''))
{
alert('Please, fill in all fields!');
}
else {
		document.forms.addSite.submit();
		}
}



function checkGB()
{
if ((document.forms.myGB.name.value == '') || (document.forms.myGB.message.value == ''))
{
alert('Fill in required fields!');
}
else {
		document.forms.myGB.submit();
		}
}



function openServices(service)
		{
      var mSubmit;
      window.open(service, mSubmit, 'toolbar=no,width=400,height=400,resizable=0');
		}

function clean() {
         document.forms.sendNews.email.value='';
}

function openRecommend() {
	var mSubmit;
	window.open("recommend.php", mSubmit, 'toolbar=no,scrollbars=no,width=300,height=300,resizable=0');
}

function openPHP() {
	var mSubmit;
	window.open("openphp.php", mSubmit, 'toolbar=no,scrollbars=yes,width=330,height=50,resizable=1');
}

function randomTip() {
	var mSubmit;
	window.open("randomtip.php", mSubmit, 'toolbar=no,scrollbars=yes,width=500,height=400,resizable=1');
}


var text = "rockwool (india) ltd"
var speed = 100
var x = 0
function bb() {
var a = text.substring(0,x)
var b = text.substring(x,x+1).toUpperCase()
var c = text.substring(x+1,text.length)
window.status = a + b + c
if (x == text.length) {
x = 0
}
else {
x++
}
setTimeout("bb()",speed)
}

bb();
