<!--//---------------------------------+
//  Developed by Roshan Bhattarai 
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use
// --------------------------------->
$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane p.internal_medicine").click(function()
    {
		$(this).css({backgroundImage:"url(http://www.primehc.com/images/dd1c.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	$(this).siblings("p.endocrinology").css({backgroundImage:"url(http://www.primehc.com/images/dd2.jpg)"});
       	$(this).siblings("p.gastroenterology").css({backgroundImage:"url(http://www.primehc.com/images/dd3.jpg)"});
       	$(this).siblings("p.pulmonology").css({backgroundImage:"url(http://www.primehc.com/images/dd4.jpg)"});
       	$(this).siblings("p.ancillary").css({backgroundImage:"url(http://www.primehc.com/images/dd5.jpg)"});
       	$(this).siblings("p.central_billing_office").css({backgroundImage:"url(http://www.primehc.com/images/dd6.jpg)"});
	});
});


$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane p.endocrinology").click(function()
    {
		$(this).css({backgroundImage:"url(http://www.primehc.com/images/dd2c.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	$(this).siblings("p.internal_medicine").css({backgroundImage:"url(http://www.primehc.com/images/dd1.jpg)"});
       	$(this).siblings("p.gastroenterology").css({backgroundImage:"url(http://www.primehc.com/images/dd3.jpg)"});
       	$(this).siblings("p.pulmonology").css({backgroundImage:"url(http://www.primehc.com/images/dd4.jpg)"});
       	$(this).siblings("p.ancillary").css({backgroundImage:"url(http://www.primehc.com/images/dd5.jpg)"});
       	$(this).siblings("p.central_billing_office").css({backgroundImage:"url(http://www.primehc.com/images/dd6.jpg)"});
	});
});


$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane p.gastroenterology").click(function()
    {
		$(this).css({backgroundImage:"url(http://www.primehc.com/images/dd3c.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	$(this).siblings("p.endocrinology").css({backgroundImage:"url(http://www.primehc.com/images/dd2.jpg)"});
       	$(this).siblings("p.internal_medicine").css({backgroundImage:"url(http://www.primehc.com/images/dd1.jpg)"});
       	$(this).siblings("p.pulmonology").css({backgroundImage:"url(http://www.primehc.com/images/dd4.jpg)"});
       	$(this).siblings("p.ancillary").css({backgroundImage:"url(http://www.primehc.com/images/dd5.jpg)"});
       	$(this).siblings("p.central_billing_office").css({backgroundImage:"url(http://www.primehc.com/images/dd6.jpg)"});
	});
});


$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane p.pulmonology").click(function()
    {
		$(this).css({backgroundImage:"url(http://www.primehc.com/images/dd4c.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	$(this).siblings("p.endocrinology").css({backgroundImage:"url(http://www.primehc.com/images/dd2.jpg)"});
       	$(this).siblings("p.gastroenterology").css({backgroundImage:"url(http://www.primehc.com/images/dd3.jpg)"});
       	$(this).siblings("p.internal_medicine").css({backgroundImage:"url(http://www.primehc.com/images/dd1.jpg)"});
       	$(this).siblings("p.ancillary").css({backgroundImage:"url(http://www.primehc.com/images/dd5.jpg)"});
       	$(this).siblings("p.central_billing_office").css({backgroundImage:"url(http://www.primehc.com/images/dd6.jpg)"});
	});
});


$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane p.ancillary").click(function()
    {
		$(this).css({backgroundImage:"url(http://www.primehc.com/images/dd5c.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	$(this).siblings("p.endocrinology").css({backgroundImage:"url(http://www.primehc.com/images/dd2.jpg)"});
       	$(this).siblings("p.gastroenterology").css({backgroundImage:"url(http://www.primehc.com/images/dd3.jpg)"});
       	$(this).siblings("p.pulmonology").css({backgroundImage:"url(http://www.primehc.com/images/dd4.jpg)"});
       	$(this).siblings("p.internal_medicine").css({backgroundImage:"url(http://www.primehc.com/images/dd1.jpg)"});
       	$(this).siblings("p.central_billing_office").css({backgroundImage:"url(http://www.primehc.com/images/dd6.jpg)"});
	});
});


$(document).ready(function()
{
	//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked 
	$("#firstpane p.central_billing_office").click(function()
    {
		$(this).css({backgroundImage:"url(http://www.primehc.com/images/dd6c.jpg)"}).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	$(this).siblings("p.endocrinology").css({backgroundImage:"url(http://www.primehc.com/images/dd2.jpg)"});
       	$(this).siblings("p.gastroenterology").css({backgroundImage:"url(http://www.primehc.com/images/dd3.jpg)"});
       	$(this).siblings("p.pulmonology").css({backgroundImage:"url(http://www.primehc.com/images/dd4.jpg)"});
       	$(this).siblings("p.ancillary").css({backgroundImage:"url(http://www.primehc.com/images/dd5.jpg)"});
       	$(this).siblings("p.internal_medicine").css({backgroundImage:"url(http://www.primehc.com/images/dd1.jpg)"});
	});
});



