var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580298&x=3317',
		'title': '',
		'imageId': '2580298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580301&x=3317',
		'title': '',
		'imageId': '2580301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580304&x=3317',
		'title': '',
		'imageId': '2580304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580307&x=3317',
		'title': '',
		'imageId': '2580307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580311&x=3317',
		'title': '',
		'imageId': '2580311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580318&x=3317',
		'title': '',
		'imageId': '2580318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580325&x=3317',
		'title': '',
		'imageId': '2580325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580331&x=3317',
		'title': '',
		'imageId': '2580331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580335&x=3317',
		'title': '',
		'imageId': '2580335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580341&x=3317',
		'title': '',
		'imageId': '2580341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580417&x=3317',
		'title': '',
		'imageId': '2580417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580420&x=3317',
		'title': '',
		'imageId': '2580420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580427&x=3317',
		'title': '',
		'imageId': '2580427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580460&x=3317',
		'title': '',
		'imageId': '2580460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580475&x=3317',
		'title': '',
		'imageId': '2580475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580487&x=3317',
		'title': '',
		'imageId': '2580487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580495&x=3317',
		'title': '',
		'imageId': '2580495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580501&x=3317',
		'title': '',
		'imageId': '2580501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580505&x=3317',
		'title': '',
		'imageId': '2580505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580510&x=3317',
		'title': '',
		'imageId': '2580510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580513&x=3317',
		'title': '',
		'imageId': '2580513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580516&x=3317',
		'title': '',
		'imageId': '2580516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580520&x=3317',
		'title': '',
		'imageId': '2580520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472739&docid=2580251&x=3317',
		'title': '',
		'imageId': '2580251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #472739';

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