var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704888&x=442',
		'title': '',
		'imageId': '71704888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704885&x=442',
		'title': '',
		'imageId': '71704885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704891&x=442',
		'title': '',
		'imageId': '71704891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704883&x=442',
		'title': '',
		'imageId': '71704883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704880&x=442',
		'title': '',
		'imageId': '71704880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704890&x=442',
		'title': '',
		'imageId': '71704890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704893&x=442',
		'title': '',
		'imageId': '71704893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704884&x=442',
		'title': '',
		'imageId': '71704884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704882&x=442',
		'title': '',
		'imageId': '71704882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704894&x=442',
		'title': '',
		'imageId': '71704894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704881&x=442',
		'title': '',
		'imageId': '71704881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704879&x=442',
		'title': '',
		'imageId': '71704879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704889&x=442',
		'title': '',
		'imageId': '71704889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704887&x=442',
		'title': '',
		'imageId': '71704887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704895&x=442',
		'title': '',
		'imageId': '71704895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704892&x=442',
		'title': '',
		'imageId': '71704892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704886&x=442',
		'title': '',
		'imageId': '71704886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079802&docid=71704878&x=442',
		'title': '',
		'imageId': '71704878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079802';

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