﻿function newPopwin(name,page,w,h,x,y){
	
		if (x==0) xPos = 0;
		if (x==1) xPos = (screen.availWidth-70-w) / 2;
		if (x==2) xPos = (screen.availWidth-70-w);
		
		if (y==0) yPos = 0 
		if (y==1) yPos = (screen.availHeight-78-h) / 2;
		if (y==2) yPos = (screen.availHeight-78-h);
		
		if (navigator.appName == "Netscape"){
			Popwin=window.open(page,name,'width='+w+',height='+h+',menubar=1,status=0,scrollbars=1,resizable=1,screenX='+xPos+',screenY='+yPos);
			Popwin.window.focus();
		}
		else{
			Popwin=window.open(page,name,'toolbar=no,status=0,menubar=yes,width='+w+',height='+h+',scrollbars=1,resizable=1,left='+xPos+',top='+yPos);
			Popwin.window.focus();
		}
	}
	
function rotatePics() {
var x=Math.floor(Math.random()*18)+1;
 document.write('<img src="images/pics/P' + x + '.jpg" alt="" width="300" height="200" border="0" id="bigpic" class="rotate" />');
}


function rotateQuote() {
var quote=new Array();
quote[0]="&ldquo;Doing more of the same won’t work. Increasing demand, greater complexity and rising expectations mean that the current situation is not sustainable.&rdquo;";
quote[1]="&ldquo;We want to have trusting relationships with workers whom we can be confident have our interests at heart and can help us find our way through the ‘system’.&rdquo;";
quote[2]="&ldquo;Social workers’ skills are highly valued and increasingly relevant to the changing needs of society.  Yet we are far from making the best use of these skills.&rdquo;";
quote[3]="&ldquo;Social work services don’t have all of the answers. They need to work closely with other  universal providers in all sectors to find new ways to design and deliver services across the public sector.&rdquo;";
quote[4]="&ldquo;Services must see “service users” as people, and not just see their labels. Social workers need to think about what difference it makes to the person using services or carer.&rdquo;";
quote[5]="&ldquo;Users and carers are citizens.  We expect to be respected as whole people and supported to achieve our aspirations.&rdquo;";
quote[6]="&ldquo;Social work has a bright and exciting future. Changing Lives gives us a once in a generation opportunity to deliver the kind of social work services Scotland needs.&rdquo;";
quote[7]="&ldquo;Services should meet the needs of people. People shouldn’t have to fit services.&rdquo;";
quote[8]="&ldquo;Social workers should be allowed the time to get to know their clients really well, so that they really understand the different needs of each individual";
quote[9]="&ldquo;We expect services to make a positive difference to our lives.  We are people first.&rdquo;";
quote[10]="&ldquo;Good social workers should be allowed to stay in the field, not promoted out of it.&rdquo;";
quote[11]="&ldquo;“Good news stories” should be publicised to attract people to the work and to raise morale.&rdquo;";
quote[12]="&ldquo;The social service workforce delivers essential services day in and day out to some of our most vulnerable people. Theirs is life changing work.&rdquo;";
quote[13]="&ldquo;Technology will change our lives. Our workforce is changing. Our lives are changing.&rdquo;";
quote[14]="&ldquo;Social workers are very important for people’s lives, so their value should be recognised right across society and departments of government.&rdquo;";
quote[15]="&ldquo;<b>Leaders<\/b> aren’t all at the top.  People throughout the organisation should be given the opportunity to lead.&rdquo;";
quote[16]="&ldquo;Leadership is about doing the right thing.  A good leader sticks to their values and isn’t knocked off course.&rdquo;";
x=Math.floor(Math.random()*16)+1;
document.write(quote[x]);
}




