var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349333&x=3340',
		'title': '',
		'imageId': '71349333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349338&x=3340',
		'title': '',
		'imageId': '71349338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349337&x=3340',
		'title': '',
		'imageId': '71349337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349339&x=3340',
		'title': '',
		'imageId': '71349339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349334&x=3340',
		'title': '',
		'imageId': '71349334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349336&x=3340',
		'title': '',
		'imageId': '71349336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349335&x=3340',
		'title': '',
		'imageId': '71349335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349520&x=3340',
		'title': '',
		'imageId': '71349520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349522&x=3340',
		'title': '',
		'imageId': '71349522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349521&x=3340',
		'title': '',
		'imageId': '71349521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4064481&docid=71349519&x=3340',
		'title': '',
		'imageId': '71349519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4064481';

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