// JavaScript Document

// EU-LOGON MAARITYKSET
$(document).ready(function()
{
   $('.eulogo img').each(function()
   {
      $(this).qtip(
      {
         content: 'Euroopan sosiaalirahaston osittain rahoittama projekti.', 
      position: {
         corner: {
            target: 'topRight',
            tooltip: 'bottomLeft'
         }
      }, 
         hide: {
            fixed: true 
         },
       style: {
         name: 'kymiedu',
         padding: '7px 13px',
         width: {
            max: 210,
            min: 0
         },
         tip: true
      }
      });
   });
});

// VIPUVOIMAA-LOGON MAARITYKSET
$(document).ready(function()
{
   $('.vipu img').each(function()
   {
      $(this).qtip(
      {
         content: 'EU-raha antaa vipuvoimaa, jonka avulla suomalaisten ideat voidaan muuttaa k&auml;yt&auml;nn&ouml;n kehitt&auml;mishankkeiksi.', 
      position: {
         corner: {
            target: 'topRight',
            tooltip: 'bottomLeft'
         }
      }, 
         hide: {
            fixed: true 
         },
       style: {
         name: 'kymiedu',
         padding: '7px 13px',
         width: {
            max: 210,
            min: 0
         },
         tip: true
      }
      });
   });
});

// OPINOVI-LOGON MÄÄRITYKSET
$(document).ready(function()
{
   $('.opinovilogo img').each(function()
   {
      $(this).qtip(
      {
         content: 'Opin Ovi Kymi on osa valtakunnallista Opin Ovi -hankekokonaisuutta. ', 
      position: {
         corner: {
            target: 'topRight',
            tooltip: 'bottomLeft'
         }
      }, 
         hide: {
            fixed: true 
         },
       style: {
         name: 'kymiedu',
         padding: '7px 13px',
         width: {
            max: 210,
            min: 0
         },
         tip: true
      }
      });
   });
});

// LÄÄNINHALLITUKSEN MÄÄRITYKSET
$(document).ready(function()
{
   $('.elylogo img').each(function()
   {
      $(this).qtip(
      {
         // content: 'Kymiedu-sivusto on tuotettu Opin Ovi Kymi -projektissa, jota osarahoittaa Etel&auml;-Suomen l&auml;&auml;ninhallitus.', 
         // content: 'Kymiedu-sivuston p&auml;ivitys ja laajennus on tuotettu Opin Ovi Kymi -projektissa, jota osarahoittaa Etel&auml;-Suomen l&auml;&auml;ninhallitus.', 
         content: 'Elinkeino-, liikenne- ja ymp&auml;rist&ouml;keskus.', 
      position: {
         corner: {
            target: 'topRight',
            tooltip: 'bottomLeft'
         }
      }, 
         hide: {
            fixed: true 
         },
       style: {
         name: 'kymiedu',
         padding: '7px 13px',
         width: {
            max: 210,
            min: 0
         },
         tip: true
      }
      });
   });
});

// KORPPIKYMIPRON MÄÄRITYKSET
$(document).ready(function()
{
   $('.korppikymiprotxt img').each(function()
   {
      $(this).qtip(
      {
         content: 'Korppi- ja Kymipro -hankkeet...', 
      position: {
         corner: {
            target: 'topRight',
            tooltip: 'bottomLeft'
         }
      }, 
         hide: {
            fixed: true 
         },
       style: {
         name: 'kymiedu',
         padding: '7px 13px',
         width: {
            max: 210,
            min: 0
         },
         tip: true
      }
      });
   });
});

