var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996051&x=2012',
		'title': '',
		'imageId': '69996051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996053&x=2012',
		'title': '',
		'imageId': '69996053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996050&x=2012',
		'title': '',
		'imageId': '69996050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996061&x=2012',
		'title': '',
		'imageId': '69996061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996052&x=2012',
		'title': '',
		'imageId': '69996052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996056&x=2012',
		'title': '',
		'imageId': '69996056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996057&x=2012',
		'title': '',
		'imageId': '69996057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996049&x=2012',
		'title': '',
		'imageId': '69996049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996058&x=2012',
		'title': '',
		'imageId': '69996058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996059&x=2012',
		'title': '',
		'imageId': '69996059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011715&docid=69996060&x=2012',
		'title': '',
		'imageId': '69996060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011715';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
