var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315155&x=1313',
		'title': '',
		'imageId': '7315155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315158&x=1313',
		'title': '',
		'imageId': '7315158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315162&x=1313',
		'title': '',
		'imageId': '7315162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315166&x=1313',
		'title': '',
		'imageId': '7315166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315170&x=1313',
		'title': '',
		'imageId': '7315170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315178&x=1313',
		'title': '',
		'imageId': '7315178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315183&x=1313',
		'title': '',
		'imageId': '7315183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315189&x=1313',
		'title': '',
		'imageId': '7315189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315193&x=1313',
		'title': '',
		'imageId': '7315193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315199&x=1313',
		'title': '',
		'imageId': '7315199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315206&x=1313',
		'title': '',
		'imageId': '7315206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315210&x=1313',
		'title': '',
		'imageId': '7315210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315213&x=1313',
		'title': '',
		'imageId': '7315213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315216&x=1313',
		'title': '',
		'imageId': '7315216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315222&x=1313',
		'title': '',
		'imageId': '7315222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315225&x=1313',
		'title': '',
		'imageId': '7315225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315229&x=1313',
		'title': '',
		'imageId': '7315229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=932892&docid=7315232&x=1313',
		'title': '',
		'imageId': '7315232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #932892';

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