var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357812&x=415',
		'title': '',
		'imageId': '69357812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357815&x=415',
		'title': '',
		'imageId': '69357815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357816&x=415',
		'title': '',
		'imageId': '69357816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357790&x=415',
		'title': '',
		'imageId': '69357790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357792&x=415',
		'title': '',
		'imageId': '69357792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357793&x=415',
		'title': '',
		'imageId': '69357793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357794&x=415',
		'title': '',
		'imageId': '69357794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357795&x=415',
		'title': '',
		'imageId': '69357795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357796&x=415',
		'title': '',
		'imageId': '69357796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357797&x=415',
		'title': '',
		'imageId': '69357797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357798&x=415',
		'title': '',
		'imageId': '69357798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357799&x=415',
		'title': '',
		'imageId': '69357799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357800&x=415',
		'title': '',
		'imageId': '69357800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357801&x=415',
		'title': '',
		'imageId': '69357801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357802&x=415',
		'title': '',
		'imageId': '69357802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357803&x=415',
		'title': '',
		'imageId': '69357803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357804&x=415',
		'title': '',
		'imageId': '69357804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357805&x=415',
		'title': '',
		'imageId': '69357805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357806&x=415',
		'title': '',
		'imageId': '69357806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357807&x=415',
		'title': '',
		'imageId': '69357807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357808&x=415',
		'title': '',
		'imageId': '69357808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357809&x=415',
		'title': '',
		'imageId': '69357809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357810&x=415',
		'title': '',
		'imageId': '69357810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984189&docid=69357811&x=415',
		'title': '',
		'imageId': '69357811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984189';

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