var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242512&x=2232',
		'title': '',
		'imageId': '70242512',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242558&x=2232',
		'title': '',
		'imageId': '70242558',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242514&x=2232',
		'title': '',
		'imageId': '70242514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242513&x=2232',
		'title': '',
		'imageId': '70242513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242511&x=2232',
		'title': '',
		'imageId': '70242511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242515&x=2232',
		'title': '',
		'imageId': '70242515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242516&x=2232',
		'title': '',
		'imageId': '70242516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242554&x=2232',
		'title': '',
		'imageId': '70242554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242557&x=2232',
		'title': '',
		'imageId': '70242557',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242559&x=2232',
		'title': '',
		'imageId': '70242559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020436&docid=70242560&x=2232',
		'title': '',
		'imageId': '70242560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020436';

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