var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875433&x=1311',
		'title': '',
		'imageId': '58875433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875435&x=1311',
		'title': '',
		'imageId': '58875435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875436&x=1311',
		'title': '',
		'imageId': '58875436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875437&x=1311',
		'title': '',
		'imageId': '58875437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875438&x=1311',
		'title': '',
		'imageId': '58875438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875439&x=1311',
		'title': '',
		'imageId': '58875439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875440&x=1311',
		'title': '',
		'imageId': '58875440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875441&x=1311',
		'title': '',
		'imageId': '58875441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875442&x=1311',
		'title': '',
		'imageId': '58875442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875443&x=1311',
		'title': '',
		'imageId': '58875443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875444&x=1311',
		'title': '',
		'imageId': '58875444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875445&x=1311',
		'title': '',
		'imageId': '58875445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875446&x=1311',
		'title': '',
		'imageId': '58875446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875447&x=1311',
		'title': '',
		'imageId': '58875447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875448&x=1311',
		'title': '',
		'imageId': '58875448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875449&x=1311',
		'title': '',
		'imageId': '58875449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875450&x=1311',
		'title': '',
		'imageId': '58875450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875451&x=1311',
		'title': '',
		'imageId': '58875451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875452&x=1311',
		'title': '',
		'imageId': '58875452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875453&x=1311',
		'title': '',
		'imageId': '58875453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875454&x=1311',
		'title': '',
		'imageId': '58875454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875455&x=1311',
		'title': '',
		'imageId': '58875455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875456&x=1311',
		'title': '',
		'imageId': '58875456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875457&x=1311',
		'title': '',
		'imageId': '58875457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875458&x=1311',
		'title': '',
		'imageId': '58875458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875459&x=1311',
		'title': '',
		'imageId': '58875459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875460&x=1311',
		'title': '',
		'imageId': '58875460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875461&x=1311',
		'title': '',
		'imageId': '58875461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875462&x=1311',
		'title': '',
		'imageId': '58875462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875463&x=1311',
		'title': '',
		'imageId': '58875463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875464&x=1311',
		'title': '',
		'imageId': '58875464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875465&x=1311',
		'title': '',
		'imageId': '58875465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875466&x=1311',
		'title': '',
		'imageId': '58875466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875467&x=1311',
		'title': '',
		'imageId': '58875467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975798&docid=58875468&x=1311',
		'title': '',
		'imageId': '58875468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975798';

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