var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161722&x=596',
		'title': '',
		'imageId': '70161722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161723&x=596',
		'title': '',
		'imageId': '70161723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161777&x=596',
		'title': '',
		'imageId': '70161777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161757&x=596',
		'title': '',
		'imageId': '70161757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161776&x=596',
		'title': '',
		'imageId': '70161776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161778&x=596',
		'title': '',
		'imageId': '70161778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161724&x=596',
		'title': '',
		'imageId': '70161724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161736&x=596',
		'title': '',
		'imageId': '70161736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161744&x=596',
		'title': '',
		'imageId': '70161744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161725&x=596',
		'title': '',
		'imageId': '70161725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161734&x=596',
		'title': '',
		'imageId': '70161734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161745&x=596',
		'title': '',
		'imageId': '70161745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161726&x=596',
		'title': '',
		'imageId': '70161726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161748&x=596',
		'title': '',
		'imageId': '70161748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161742&x=596',
		'title': '',
		'imageId': '70161742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161727&x=596',
		'title': '',
		'imageId': '70161727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161754&x=596',
		'title': '',
		'imageId': '70161754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161743&x=596',
		'title': '',
		'imageId': '70161743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161796&x=596',
		'title': '',
		'imageId': '70161796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161797&x=596',
		'title': '',
		'imageId': '70161797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161801&x=596',
		'title': '',
		'imageId': '70161801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161781&x=596',
		'title': '',
		'imageId': '70161781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017211&docid=70161787&x=596',
		'title': '',
		'imageId': '70161787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017211';

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