var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384368&x=515',
		'title': '',
		'imageId': '71384368',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384367&x=515',
		'title': '',
		'imageId': '71384367',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384369&x=515',
		'title': '',
		'imageId': '71384369',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384370&x=515',
		'title': '',
		'imageId': '71384370',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384371&x=515',
		'title': '',
		'imageId': '71384371',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384372&x=515',
		'title': '',
		'imageId': '71384372',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384373&x=515',
		'title': '',
		'imageId': '71384373',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384374&x=515',
		'title': '',
		'imageId': '71384374',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384375&x=515',
		'title': '',
		'imageId': '71384375',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384376&x=515',
		'title': '',
		'imageId': '71384376',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065869&docid=71384377&x=515',
		'title': '',
		'imageId': '71384377',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4065869';

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