var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917612&x=230',
		'title': '',
		'imageId': '69917612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917614&x=230',
		'title': '',
		'imageId': '69917614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917615&x=230',
		'title': '',
		'imageId': '69917615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917616&x=230',
		'title': '',
		'imageId': '69917616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917617&x=230',
		'title': '',
		'imageId': '69917617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917618&x=230',
		'title': '',
		'imageId': '69917618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917619&x=230',
		'title': '',
		'imageId': '69917619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917620&x=230',
		'title': '',
		'imageId': '69917620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917621&x=230',
		'title': '',
		'imageId': '69917621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917622&x=230',
		'title': '',
		'imageId': '69917622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917623&x=230',
		'title': '',
		'imageId': '69917623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917624&x=230',
		'title': '',
		'imageId': '69917624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917625&x=230',
		'title': '',
		'imageId': '69917625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917626&x=230',
		'title': '',
		'imageId': '69917626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917627&x=230',
		'title': '',
		'imageId': '69917627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917628&x=230',
		'title': '',
		'imageId': '69917628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917629&x=230',
		'title': '',
		'imageId': '69917629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061471&docid=69917630&x=230',
		'title': '',
		'imageId': '69917630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061471';

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";
	})
}
